"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,
"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(\"Data Selected\");\n}"
+ "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}"
},
"*prop": "sm",
"singleSelect": true,
"*prop": "dataSource",
"remoteSort": true,
"xtype": "Store",
- "|sortInfo": "{ field : 'filename', direction: 'ASC' }",
+ "|sortInfo": "{ field : 'event_when', direction: 'DESC' }",
"|xns": "Roo.data",
"items": [
{
"*prop": "proxy",
- "xtype": "HttpProxy",
"method": "GET",
- "|url": "baseURL + '/Roo/Images.php'",
+ "xtype": "HttpProxy",
+ "|url": "baseURL + '/Roo/Events.php'",
"|xns": "Roo.data"
},
{