X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-core-debug.js;h=6278a7b8d81426fd169c85f763b04f4750a398a8;hb=299e1fbddf5ef97162c05bdfd9f529aea015f6ed;hp=948795e9d48a5539ab5eecc1c27ecc669650f4e2;hpb=b1addc89ce109a51baafb2b9d45fad493c2032f3;p=roojs1 diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 948795e9d4..6278a7b8d8 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -16029,8 +16029,12 @@ Roo.extend(Roo.XComponent, Roo.util.Observable, { var tree = this._tree ? this._tree() : this.tree(); // altertive root elements ??? - we need a better way to indicate these. - var is_alt = Roo.XComponent.is_alt || (typeof(Roo.bootstrap) != 'undefined' && tree.xns == Roo.bootstrap) || - (typeof(Roo.mailer) != 'undefined' && tree.xns == Roo.mailer) ; + var is_alt = Roo.XComponent.is_alt || + (typeof(tree.el) != 'undefined' && tree.el == document.body) || + (typeof(Roo.bootstrap) != 'undefined' && tree.xns == Roo.bootstrap) || + (typeof(Roo.mailer) != 'undefined' && tree.xns == Roo.mailer) ; + + if (!this.parent && is_alt) { //el = Roo.get(document.body); @@ -17805,4 +17809,4381 @@ Roo.Markdown.toHtml = function(text) { Roo.Markdown.marked = marked; -})(); \ No newline at end of file +})();/* + * Based on: + * Ext JS Library 1.1.1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * + * Originally Released Under LGPL - original licence link has changed is not relivant. + * + * Fork - LGPL + *