From 2f3104fa9882a9d697202e6bb498fd451fbec470 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 22 Mar 2017 20:03:10 +0800 Subject: [PATCH] add --- dist/core.js | 2 +- dist/widget.js | 2 +- src/core/widget.js | 2 +- src/widget/multitree/multi.tree.popup.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/core.js b/dist/core.js index a3529c3a3..3287c4ace 100644 --- a/dist/core.js +++ b/dist/core.js @@ -14434,7 +14434,7 @@ BI.Widget = BI.inherit(BI.OB, { }) }) } - if (this._isRoot === true || (!(this instanceof BI.Layout) && (this._parent && this._parent._isMounted))) { + if (this._isRoot === true || !(this instanceof BI.Layout)) { this._mount(); } }, diff --git a/dist/widget.js b/dist/widget.js index d3839ccaa..4452fe23e 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -19927,7 +19927,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, { baseCls: 'bi-multi-tree-popup', maxWidth: 'auto', minWidth: 100, - maxHeight: 250, + maxHeight: 400, onLoaded: BI.emptyFn }); }, diff --git a/src/core/widget.js b/src/core/widget.js index 859e21e1e..d894fcef5 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -135,7 +135,7 @@ BI.Widget = BI.inherit(BI.OB, { }) }) } - if (this._isRoot === true || (!(this instanceof BI.Layout) && (this._parent && this._parent._isMounted))) { + if (this._isRoot === true || !(this instanceof BI.Layout)) { this._mount(); } }, diff --git a/src/widget/multitree/multi.tree.popup.js b/src/widget/multitree/multi.tree.popup.js index 0cda736ed..35c4f4f5f 100644 --- a/src/widget/multitree/multi.tree.popup.js +++ b/src/widget/multitree/multi.tree.popup.js @@ -10,7 +10,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, { baseCls: 'bi-multi-tree-popup', maxWidth: 'auto', minWidth: 100, - maxHeight: 250, + maxHeight: 400, onLoaded: BI.emptyFn }); },