X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/Element.fx-more.html diff --git a/docs/source/Element.fx-more.html b/docs/source/Element.fx-more.html index cfabd7a1..6c3f7335 100644 --- a/docs/source/Element.fx-more.html +++ b/docs/source/Element.fx-more.html @@ -18,7 +18,7 @@ function(){ XMASKED = "x-masked", XMASKEDRELATIVE = "x-masked-relative", data = Ext.Element.data; - + return {
/** * Checks whether the element is currently visible using both visibility and display properties. @@ -30,8 +30,8 @@ function(){ p = this.dom.parentNode; if(deep !== true || !vis){ return vis; - } - while(p && !/body/i.test(p.tagName)){ + } + while(p && !/^body/i.test(p.tagName)){ if(!Ext.fly(p, '_isVisible').isVisible()){ return false; } @@ -39,7 +39,7 @@ function(){ } return true; }, - +
/** * Returns true if display is not "none" * @return {Boolean} @@ -47,20 +47,20 @@ function(){ isDisplayed : function() { return !this.isStyle(DISPLAY, NONE); }, - +
/** * Convenience method for setVisibilityMode(Element.DISPLAY) * @param {String} display (optional) What to set display to when visible * @return {Ext.Element} this */ - enableDisplayMode : function(display){ + enableDisplayMode : function(display){ this.setVisibilityMode(Ext.Element.DISPLAY); if(!Ext.isEmpty(display)){ data(this.dom, 'originalDisplay', display); } return this; }, - +
/** * Puts a mask over this element to disable user interaction. Requires core.css. * This method can only be applied to elements which accept child nodes. @@ -73,9 +73,9 @@ function(){ dom = me.dom, dh = Ext.DomHelper, EXTELMASKMSG = "ext-el-mask-msg", - el, + el, mask; - + if(me.getStyle("position") == "static"){ me.addClass(XMASKEDRELATIVE); } @@ -85,10 +85,10 @@ function(){ if((el = data(dom, 'mask'))){ el.remove(); } - + mask = dh.append(dom, {cls : "ext-el-mask"}, true); data(dom, 'mask', mask); - + me.addClass(XMASKED); mask.setDisplayed(true); if(typeof msg == 'string'){ @@ -104,7 +104,7 @@ function(){ } return mask; }, - +
/** * Removes a previously applied mask. */ @@ -123,7 +123,7 @@ function(){ } me.removeClass([XMASKED, XMASKEDRELATIVE]); }, - +
/** * Returns true if this element is masked * @return {Boolean} @@ -132,14 +132,14 @@ function(){ var m = data(this.dom, 'mask'); return m && m.isVisible(); }, - +
/** * Creates an iframe shim for this element to keep selects and other windowed objects from * showing through. * @return {Ext.Element} The new shim element */ createShim : function(){ - var el = document.createElement('iframe'), + var el = document.createElement('iframe'), shim; el.frameBorder = '0'; el.className = 'ext-shim';