Pman.Tab.AdminCompanies.bjs
authorEdward <edward@roojs.com>
Thu, 3 Jan 2013 04:24:14 +0000 (12:24 +0800)
committerEdward <edward@roojs.com>
Thu, 3 Jan 2013 04:24:14 +0000 (12:24 +0800)
Pman.Tab.AdminCompanies.js

Pman.Tab.AdminCompanies.bjs
Pman.Tab.AdminCompanies.js

index b0951b4..f576b9e 100644 (file)
                                                     "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"
                                                 },
                                                 {
index b0a7866..280dffa 100644 (file)
@@ -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',