git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git]
/
docs
/
source
/
Window.html
diff --git
a/docs/source/Window.html
b/docs/source/Window.html
index
a22ece5
..
2ab219d
100644
(file)
--- a/
docs/source/Window.html
+++ b/
docs/source/Window.html
@@
-198,12
+198,6
@@
Ext.Window = Ext.extend(Ext.Panel, {
*/
hidden : true,
*/
hidden : true,
- <div id="cfg-Ext.Window-monitorResize"></div>/**
- * @cfg {Boolean} monitorResize @hide
- * This is automatically managed based on the value of constrain and constrainToHeader
- */
- monitorResize : true,
-
// The following configs are set to provide the basic functionality of a window.
// Changing them would require additional code to handle correctly and should
// usually only be done in subclasses that can provide custom behavior. Changing them
// The following configs are set to provide the basic functionality of a window.
// Changing them would require additional code to handle correctly and should
// usually only be done in subclasses that can provide custom behavior. Changing them
@@
-313,7
+307,8
@@
Ext.Window = Ext.extend(Ext.Panel, {
minHeight:this.minHeight,
handles: this.resizeHandles || 'all',
pinned: true,
minHeight:this.minHeight,
handles: this.resizeHandles || 'all',
pinned: true,
- resizeElement : this.resizerAction
+ resizeElement : this.resizerAction,
+ handleCls: 'x-window-handle'
});
this.resizer.window = this;
this.mon(this.resizer, 'beforeresize', this.beforeResize, this);
});
this.resizer.window = this;
this.mon(this.resizer, 'beforeresize', this.beforeResize, this);
@@
-347,7
+342,8
@@
Ext.Window = Ext.extend(Ext.Panel, {
},
// private
},
// private
- onEsc : function(){
+ onEsc : function(k, e){
+ e.stopEvent();
this[this.closeAction]();
},
this[this.closeAction]();
},
@@
-439,6
+435,7
@@
Ext.Window = Ext.extend(Ext.Panel, {
this.focus();
this.updateHandles();
this.saveState();
this.focus();
this.updateHandles();
this.saveState();
+ this.doLayout();
},
<div id="method-Ext.Window-focus"></div>/**
},
<div id="method-Ext.Window-focus"></div>/**
@@
-529,6
+526,9
@@
Ext.Window = Ext.extend(Ext.Panel, {
// private
afterShow : function(isAnim){
// private
afterShow : function(isAnim){
+ if (this.isDestroyed){
+ return false;
+ }
this.proxy.hide();
this.el.setStyle('display', 'block');
this.el.show();
this.proxy.hide();
this.el.setStyle('display', 'block');
this.el.show();
@@
-890,7
+890,6
@@
Ext.Window = Ext.extend(Ext.Panel, {
Ext.EventManager.on(window, 'scroll', this.doAnchor, this,
{buffer: tm == 'number' ? monitorScroll : 50});
}
Ext.EventManager.on(window, 'scroll', this.doAnchor, this,
{buffer: tm == 'number' ? monitorScroll : 50});
}
- this.doAnchor();
return this;
},
return this;
},