fix #29447 - fail to rebuild content tree

This commit is contained in:
sgay
2011-01-20 13:51:47 -01:00
parent 415f6f38b1
commit f08ca0f014

View File

@@ -181,7 +181,7 @@ Umbraco.Sys.registerNamespace("Umbraco.Controls");
//if app is null, then we will rebuild the current app which also means clearing the cache.
if (!app) {
this.clearTreeCache();
this._opts.app = this._opts.app;
app = this._opts.app; // zb-00011 #29447 : bugfix assignment
}
else if (this._tree && (this._opts.app.toLowerCase() == app.toLowerCase())) {
this._debug("not rebuilding");