commit 94b9ef54b15c76f7102986796f6b50fc109c218e
parent 0e2b9e863dbea79b74eed1abb8e4583f95819114
Author: Felicitus <felicitus@felicitus.org>
Date: Wed, 4 Jul 2012 15:56:39 +0200
Fixed auto-height adjustment for grids w/ ExtJS 4.1
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/frontend/js/Components/Editor/EditorGrid.js b/src/frontend/js/Components/Editor/EditorGrid.js
@@ -146,7 +146,7 @@ Ext.define('PartKeepr.EditorGrid', {
this.callParent();
if (this.automaticPageSize) {
- this.on("afterlayout", this.reassignPageSize, this);
+ this.on("resize", this.reassignPageSize, this);
}
},
/**