From: Alan Knowles Date: Tue, 4 Jul 2017 08:07:16 +0000 (+0800) Subject: roojs-core.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=299e1fbddf5ef97162c05bdfd9f529aea015f6ed roojs-core.js roojs-core-debug.js --- 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 + *