{ "id": "roo-file-208", "name": "Pman.Dialog.CoreAutoSavePreview", "parent": "", "title": "", "path": "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreAutoSavePreview.bjs", "items": [ { "listeners": { "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n}" }, "background": false, "closable": false, "collapsible": false, "height": 500, "modal": true, "resizable": false, "title": "Saved Version", "width": 800, "xtype": "LayoutDialog", "|xns": "Roo", "items": [ { "*prop": "center", "xtype": "LayoutRegion", "|xns": "Roo" }, { "*prop": "west", "split": true, "width": 200, "xtype": "LayoutRegion", "|xns": "Roo" }, { "listeners": { "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}" }, "background": false, "fitContainer": true, "fitToframe": true, "region": "west", "tableName": "Images", "title": "Images", "xtype": "GridPanel", "|xns": "Roo", "items": [ { "listeners": { "|render": "function() \n{\n _this.grid = this; \n \n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}", "|rowdblclick": "function (_self, rowIndex, e)\n{\n\n}\n" }, "*prop": "grid", "autoExpandColumn": "filename", "loadMask": true, "xtype": "Grid", "|xns": "Roo.grid", "items": [ { "listeners": { "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(\"