Merge pull request #6 from plone/fix_reopened_overview

Added check in tree generation if it allready exists
This commit is contained in:
David Glick 2012-11-17 12:46:06 -08:00
commit 6fd90c6220
2 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,9 @@ Changelog
1.0.7 (unreleased)
------------------
* Added check in tree generation if it allready exists (reopening the contenttree window).
[phgross]
1.0.6 (2012-09-28)
------------------

View File

@ -105,10 +105,12 @@ if(jQuery) (function($){
$(t).find('li.selectable a').bind(o.selectEvent, handleSelectEvent);
}
$(this).each(function() {
if ($(this).children('ul.navTree').length <= 0) {
$(this).each(function() {
loadTree(this, o.rootUrl, 0);
});
}
loadTree(this, o.rootUrl, 0);
});
}
});