From 4a2615062b5becf3ca66c6d66dc02ce380e7a86a Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 3 Jan 2013 12:24:14 +0800 Subject: [PATCH] Pman.Tab.AdminCompanies.bjs Pman.Tab.AdminCompanies.js --- Pman.Tab.AdminCompanies.bjs | 8 ++++---- Pman.Tab.AdminCompanies.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Pman.Tab.AdminCompanies.bjs b/Pman.Tab.AdminCompanies.bjs index b0951b4..f576b9e 100644 --- a/Pman.Tab.AdminCompanies.bjs +++ b/Pman.Tab.AdminCompanies.bjs @@ -132,13 +132,13 @@ "xtype": "Fill" }, { - "text": "Add", - "xtype": "Button", - "cls": "x-btn-text-icon", - "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'", "listeners": { "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n" }, + "cls": "x-btn-text-icon", + "text": "Add", + "xtype": "Button", + "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'", "|xns": "Roo.Toolbar" }, { diff --git a/Pman.Tab.AdminCompanies.js b/Pman.Tab.AdminCompanies.js index b0a7866..280dffa 100644 --- a/Pman.Tab.AdminCompanies.js +++ b/Pman.Tab.AdminCompanies.js @@ -436,9 +436,6 @@ Pman.Tab.AdminCompanies = new Roo.XComponent({ { xtype: 'Button', xns: Roo.Toolbar, - text : "Add", - cls : 'x-btn-text-icon', - icon : Roo.rootURL + 'images/default/dd/drop-add.gif', listeners : { click : function() { @@ -447,7 +444,10 @@ Pman.Tab.AdminCompanies = new Roo.XComponent({ _this.grid.footer.onClick('first'); }); } - } + }, + cls : 'x-btn-text-icon', + text : "Add", + icon : Roo.rootURL + 'images/default/dd/drop-add.gif' }, { xtype: 'Button', -- 2.39.2