Added check in tree generation if it allready exists (reopening the contenttree window).

This commit is contained in:
philippe.gross 2012-11-12 09:46:46 +01:00
parent 7de9fc90be
commit fa49b277e3
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);
});
}
});