Index: branches/RC/core/admin_templates/js/tree.js =================================================================== diff -u -r9258 -r11835 --- branches/RC/core/admin_templates/js/tree.js (.../tree.js) (revision 9258) +++ branches/RC/core/admin_templates/js/tree.js (.../tree.js) (revision 11835) @@ -298,6 +298,8 @@ this.Children = new Array(); this.ChildIndex = 0; + this.Reloading = false; + if (render) { this.Expanded = true; this.Displayed = true; @@ -523,16 +525,26 @@ fld.highLight(); } } + + $object.Reloading = false; } TreeFolder.prototype.reload = function() { + if (this.Reloading) { + return ; + } + + this.Reloading = true; + Request.headers['Content-type'] = 'text/xml'; Request.makeRequest(this.LateLoadURL, false, '', this.successCallback, this.errorCallback, 'reload', this); } TreeFolder.prototype.errorCallback = function($request, $params, $object) { alert('AJAX ERROR: ' + Request.getErrorHtml($request)); + + $object.Reloading = false; } TreeFolder.prototype.expand = function(mode)