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.2.1 - Released 04/27/2010
[extjs.git]
/
src
/
widgets
/
Panel.js
diff --git
a/src/widgets/Panel.js
b/src/widgets/Panel.js
index
a5fc524
..
69a8642
100644
(file)
--- a/
src/widgets/Panel.js
+++ b/
src/widgets/Panel.js
@@
-1,5
+1,5
@@
/*!
/*!
- * Ext JS Library 3.2.
0
+ * Ext JS Library 3.2.
1
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-1106,7
+1106,7
@@
new Ext.Panel({
getBottomToolbar : function(){
return this.bottomToolbar;
},
getBottomToolbar : function(){
return this.bottomToolbar;
},
-
+
/**
* Returns the {@link Ext.Toolbar toolbar} from the footer (<code>{@link #fbar}</code>) section of the panel.
* @return {Ext.Toolbar} The toolbar
/**
* Returns the {@link Ext.Toolbar toolbar} from the footer (<code>{@link #fbar}</code>) section of the panel.
* @return {Ext.Toolbar} The toolbar
@@
-1387,7
+1387,7
@@
new Ext.Panel({
// Reset lastSize of all sub-components so they KNOW they are in a collapsed container
this.cascade(function(c) {
if (c.lastSize) {
// Reset lastSize of all sub-components so they KNOW they are in a collapsed container
this.cascade(function(c) {
if (c.lastSize) {
- c.lastSize = { width:
0, height: 0
};
+ c.lastSize = { width:
undefined, height: undefined
};
}
});
this.fireEvent('collapse', this);
}
});
this.fireEvent('collapse', this);
@@
-1732,12
+1732,12
@@
panel.load({
this.ft,
this.header,
this.footer,
this.ft,
this.header,
this.footer,
- this.toolbars,
this.tbar,
this.bbar,
this.body,
this.mc,
this.tbar,
this.bbar,
this.body,
this.mc,
- this.bwrap
+ this.bwrap,
+ this.dd
);
if (this.fbar) {
Ext.destroy(
);
if (this.fbar) {
Ext.destroy(
@@
-1745,12
+1745,8
@@
panel.load({
this.fbar.el
);
}
this.fbar.el
);
}
- }else{
- Ext.destroy(
- this.topToolbar,
- this.bottomToolbar
- );
}
}
+ Ext.destroy(this.toolbars);
},
// private
},
// private