"name" : "Pman.Dialog.AdminEnumImages",
"parent" : "",
"title" : "",
- "path" : "/home/benny/gitlive/Pman.Admin/Pman.Dialog.AdminEnumImages.bjs",
+ "path" : "/home/benny/gitlive/web.hhyc_membership_system/Pman.Admin/Pman.Dialog.AdminEnumImages.bjs",
"permname" : "",
"modOrder" : "001",
"strings" : {
"listeners" : {
"|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
},
- "region" : "center",
"fitToframe" : true,
"background" : false,
+ "region" : "center",
"title" : "Images",
"xtype" : "GridPanel",
"fitContainer" : true,
},
{
"listeners" : {
- "|click" : "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n \n if (!s || s.length != 1) {\n Roo.MessageBox.alert(\"Error\", \"Select a single image to edit\");\n return;\n }\n var data = _this.grid.getDataSource().getById(s[0].data.id).data;\n console.log(_this);\n _this.Dialog.Image.show(data, function() {\n _this.grid.footer.onClick('first');\n });\n \n}\n "
+ "|click" : "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n \n if (!s || s.length != 1) {\n Roo.MessageBox.alert(\"Error\", \"Select a single image to edit\");\n return;\n }\n var data = _this.grid.getDataSource().getById(s[0].data.id).data;\n \n Pman.Dialog.Image.show(data, function() {\n _this.grid.footer.onClick('first');\n });\n \n}\n "
},
"text" : "Edit",
"xtype" : "Button",