From: Edward Date: Thu, 8 May 2014 09:24:27 +0000 (+0800) Subject: Pman.Dialog.CoreAutoSavePreview.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=c99291862094994b8dd13e4a89ad41ee3d9250c4 Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index 0912cf37..377c670e 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -110,17 +110,17 @@ ] }, { - "|xns": "Roo", - "xtype": "GridPanel", - "title": "Images", - "fitToframe": true, - "fitContainer": true, - "tableName": "Images", - "background": true, - "region": "center", "listeners": { "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}" }, + "background": true, + "fitContainer": true, + "fitToframe": true, + "region": "west", + "tableName": "Images", + "title": "Images", + "xtype": "GridPanel", + "|xns": "Roo", "items": [ { "*prop": "grid", diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index c5af4a06..2e4c68fd 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -248,12 +248,6 @@ Pman.Dialog.CoreAutoSavePreview = { { xtype: 'GridPanel', xns: Roo, - title : "Images", - fitToframe : true, - fitContainer : true, - tableName : 'Images', - background : true, - region : 'center', listeners : { activate : function() { _this.panel = this; @@ -262,6 +256,12 @@ Pman.Dialog.CoreAutoSavePreview = { } } }, + background : true, + fitContainer : true, + fitToframe : true, + region : 'west', + tableName : 'Images', + title : "Images", grid : { xtype: 'Grid', xns: Roo.grid,