Added check in tree generation if it allready exists (reopening the contenttree window).
This commit is contained in:
parent
7de9fc90be
commit
fa49b277e3
|
@ -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)
|
||||
------------------
|
||||
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Reference in New Issue