X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Floating.html diff --git a/docs/source/Floating.html b/docs/source/Floating.html index 7bbf402b..baf7d7c1 100644 --- a/docs/source/Floating.html +++ b/docs/source/Floating.html @@ -94,8 +94,10 @@ Ext.define('Ext.util.Floating', { }, onFloatParentHide: function() { - this.showOnParentShow = this.isVisible(); - this.hide(); + if (this.hideOnParentHide !== false) { + this.showOnParentShow = this.isVisible(); + this.hide(); + } }, onFloatParentShow: function() { @@ -166,8 +168,8 @@ Ext.define('Ext.util.Floating', { me.setPosition(xy); } }, - - + + /** * Gets the x/y offsets to constrain this float * @private @@ -177,7 +179,7 @@ Ext.define('Ext.util.Floating', { getConstrainVector: function(constrainTo){ var me = this, el; - + if (me.constrain || me.constrainHeader) { el = me.constrainHeader ? me.header.el : me.el; constrainTo = constrainTo || (me.floatParent && me.floatParent.getTargetEl()) || me.container;