Pman.Tab.AdminContactsGroup.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 07:41:59 +0000 (15:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 07:41:59 +0000 (15:41 +0800)
Pman.Tab.AdminContactsGroup.js

index 6a66119..7e63bf5 100644 (file)
@@ -180,25 +180,27 @@ Pman.Tab.AdminContactsGroup = new Roo.util.Observable({
                             text : "Manage Groups",
                             menu : {
                                 xtype: 'Menu',
-                                xns: Roo.menu
+                                xns: Roo.menu,
+                                items : [
+                                    {
+                                        xtype: 'Item',
+                                        xns: Roo.menu,
+                                        listeners : {
+                                            click : function()
+                                            {
+                                                if (!_this.dialog) return;
+                                                _this.dialog.show( { id : 0 } , function() {
+                                                    _this.grid.footer.onClick('first');
+                                               }); 
+                                            }
+                                        },
+                                        cls : 'x-btn-text-icon',
+                                        text : "Add",
+                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif'
+                                    }
+                                ]
                             }
                         },
-                        {
-                            xtype: 'Item',
-                            xns: Roo.menu,
-                            listeners : {
-                                click : function()
-                                {
-                                    if (!_this.dialog) return;
-                                    _this.dialog.show( { id : 0 } , function() {
-                                        _this.grid.footer.onClick('first');
-                                   }); 
-                                }
-                            },
-                            cls : 'x-btn-text-icon',
-                            text : "Add",
-                            icon : Roo.rootURL + 'images/default/dd/drop-add.gif'
-                        },
                         {
                             xtype: 'Button',
                             xns: Roo.Toolbar,