3 "name": "Pman.Dialog.CoreAutoSavePreview",
6 "path": "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreAutoSavePreview.bjs",
15 "title": "Saved Version",
17 "xtype": "LayoutDialog",
22 "xtype": "LayoutRegion",
29 "xtype": "LayoutRegion",
34 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
40 "tableName": "Images",
48 "autoExpandColumn": "filename",
51 "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
52 "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
57 "*prop": "dataSource",
60 "|sortInfo": "{ field : 'filename', direction: 'ASC' }",
67 "|url": "baseURL + '/Roo/Images.php'",
74 "totalProperty": "total",
75 "xtype": "JsonReader",
76 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'event_when',\n 'type': 'string'\n }\n]",
83 "xtype": "PagingToolbar",
86 "displayMsg": "Displaying Images{0} - {1} of {2}",
87 "emptyMsg": "No Images found",
91 "xtype": "ColumnModel",
95 "|renderer": "function(v) { return String.format('{0}', v); }",
100 "xtype": "ColumnModel",
101 "header": "Mimetype",
103 "dataIndex": "mimetype",
104 "|renderer": "function(v) { return String.format('{0}', v); }",
106 "*prop": "colModel[]"
109 "xtype": "ColumnModel",
112 "dataIndex": "width",
113 "|renderer": "function(v) { return String.format('{0}', v); }",
115 "*prop": "colModel[]"
118 "xtype": "ColumnModel",
121 "dataIndex": "height",
122 "|renderer": "function(v) { return String.format('{0}', v); }",
124 "*prop": "colModel[]"
127 "xtype": "ColumnModel",
128 "header": "Filesize",
130 "dataIndex": "filesize",
131 "|renderer": "function(v) { return String.format('{0}', v); }",
133 "*prop": "colModel[]"
136 "xtype": "ColumnModel",
137 "header": "Displayorder",
139 "dataIndex": "displayorder",
140 "|renderer": "function(v) { return String.format('{0}', v); }",
142 "*prop": "colModel[]"
145 "xtype": "ColumnModel",
146 "header": "Language",
148 "dataIndex": "language",
149 "|renderer": "function(v) { return String.format('{0}', v); }",
151 "*prop": "colModel[]"
154 "xtype": "ColumnModel",
155 "header": "Parent image",
157 "dataIndex": "parent_image_id",
158 "|renderer": "function(v) { return String.format('{0}', v); }",
160 "*prop": "colModel[]"
163 "xtype": "ColumnModel",
166 "dataIndex": "created",
167 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
169 "*prop": "colModel[]"
172 "xtype": "ColumnModel",
175 "dataIndex": "imgtype",
176 "|renderer": "function(v) { return String.format('{0}', v); }",
178 "*prop": "colModel[]"
181 "xtype": "ColumnModel",
184 "dataIndex": "linkurl",
185 "|renderer": "function(v) { return String.format('{0}', v); }",
187 "*prop": "colModel[]"
190 "xtype": "ColumnModel",
191 "header": "Descript",
193 "dataIndex": "descript",
194 "|renderer": "function(v) { return String.format('{0}', v); }",
196 "*prop": "colModel[]"
199 "xtype": "ColumnModel",
202 "dataIndex": "title",
203 "|renderer": "function(v) { return String.format('{0}', v); }",
205 "*prop": "colModel[]"
213 "render": "function (_self)\n{\n _this.viewPanel = _self;\n}"
216 "fitContainer": true,
219 "xtype": "ContentPanel",
224 "|click": "function() {\n _this.dialog.hide();\n}"
226 "*prop": "buttons[]",
233 "|click": "function() {\n _this.dialog.hide();\n}"
235 "*prop": "buttons[]",