3 "name": "Pman.Dialog.CoreAutoSavePreview",
6 "path": "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreAutoSavePreview.bjs",
10 "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n}"
18 "title": "Saved Version",
20 "xtype": "LayoutDialog",
25 "xtype": "LayoutRegion",
32 "xtype": "LayoutRegion",
37 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
43 "tableName": "Images",
50 "|render": "function() \n{\n _this.grid = this; \n \n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
51 "|rowdblclick": "function (_self, rowIndex, e)\n{\n\n}\n"
54 "autoExpandColumn": "filename",
61 "afterselectionchange": "function (_self)\n{\n var selected = this.getSelected();\n \n if (!selected) {\n _this.viewPanel.setContent(\"Nothing Selected\");\n return;\n }\n Roo.log(selected);\n _this.viewPanel.setContent(\"<div><h1>Data Selected</h1></div>\");\n}"
65 "xtype": "RowSelectionModel",
70 "beforeload": "function (_self, o)\n{\n o.params = o.params || {};\n \n if(typeof(_this.data) == 'undefined'){\n this.removeAll();\n return false;\n }\n Roo.log(_this.data);\n o.params.action = 'AUTOSAVE';\n}"
72 "*prop": "dataSource",
75 "|sortInfo": "{ field : 'event_when', direction: 'DESC' }",
82 "|url": "baseURL + '/Roo/Events.php'",
89 "totalProperty": "total",
90 "xtype": "JsonReader",
91 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'event_when',\n 'type': 'string'\n }\n]",
100 "xtype": "PagingToolbar",
104 "*prop": "colModel[]",
105 "dataIndex": "event_when",
108 "xtype": "ColumnModel",
109 "|renderer": "function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }",
118 "render": "function (_self)\n{\n _this.viewPanel = _self;\n}"
121 "fitContainer": true,
124 "xtype": "ContentPanel",
129 "|click": "function() {\n _this.dialog.hide();\n}"
131 "*prop": "buttons[]",
138 "|click": "function() {\n _this.dialog.hide();\n}"
140 "*prop": "buttons[]",