Pman.Tab.AdminProjectManager.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:24:22 +0000 (15:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:24:22 +0000 (15:24 +0800)
Pman.Tab.AdminProjectManager.js

index f4bb32a..e7cd4ca 100644 (file)
@@ -518,9 +518,6 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                                     {
                                         xtype: 'Button',
                                         xns: Roo.Toolbar,
-                                        text : "Add",
-                                        cls : 'x-btn-text-icon',
-                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
                                         listeners : {
                                             click : function()
                                             {
@@ -529,7 +526,10 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                                                     _this.grid.footer.onClick('first');
                                                }); 
                                             }
-                                        }
+                                        },
+                                        cls : 'x-btn-text-icon',
+                                        text : "Add",
+                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif'
                                     },
                                     {
                                         xtype: 'Button',