X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Dialog.AdminEnumImages.bjs;h=90b134692e48e96a7aed6d12ad7dbe1b6b826356;hp=61290fe05b0ea011e99cf6aeccd67fbaf170d4a9;hb=HEAD;hpb=382b5c70e61d11f3eea2d58bb1f2b333817036a6 diff --git a/Pman.Dialog.AdminEnumImages.bjs b/Pman.Dialog.AdminEnumImages.bjs index 61290fe..90b1346 100644 --- a/Pman.Dialog.AdminEnumImages.bjs +++ b/Pman.Dialog.AdminEnumImages.bjs @@ -2,7 +2,7 @@ "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" : { @@ -39,9 +39,9 @@ "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, @@ -114,7 +114,7 @@ }, { "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 \n Pman.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",