From 22369442f13a8988aa59ba1b9d81f374e5023462 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 12 May 2011 16:04:11 +0800 Subject: [PATCH] Pman.Tab.AdminCompanies.bjs --- Pman.Tab.AdminCompanies.bjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Pman.Tab.AdminCompanies.bjs b/Pman.Tab.AdminCompanies.bjs index a6eee5f..8054da6 100644 --- a/Pman.Tab.AdminCompanies.bjs +++ b/Pman.Tab.AdminCompanies.bjs @@ -135,13 +135,13 @@ "|xns": "Roo.Toolbar" }, { - "text": "Edit", - "xtype": "Button", - "cls": "x-btn-text-icon", - "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'", "listeners": { "|click": "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n if (!s.length || (s.length > 1)) {\n Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n return;\n }\n if (!_this.dialog) return;\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('first');\n }); \n \n}\n" }, + "cls": "x-btn-text-icon", + "text": "Edit", + "xtype": "Button", + "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'", "|xns": "Roo.Toolbar" }, { -- 2.39.2