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

index e3f3f9a..61950cb 100644 (file)
@@ -219,22 +219,22 @@ Pman.Tab.AdminContactsGroup = new Roo.util.Observable({
                                         cls : 'x-btn-text-icon',
                                         text : "Edit",
                                         icon : Roo.rootURL + 'images/default/tree/leaf.gif'
+                                    },
+                                    {
+                                        xtype: 'Item',
+                                        xns: Roo.menu,
+                                        listeners : {
+                                            click : function()
+                                            {
+                                                 Pman.genericDelete(_this, 'Groups'); 
+                                            }
+                                        },
+                                        cls : 'x-btn-text-icon',
+                                        text : "Delete",
+                                        icon : rootURL + '/Pman/templates/images/trash.gif'
                                     }
                                 ]
                             }
-                        },
-                        {
-                            xtype: 'Item',
-                            xns: Roo.Toolbar,
-                            listeners : {
-                                click : function()
-                                {
-                                     Pman.genericDelete(_this, 'Groups'); 
-                                }
-                            },
-                            cls : 'x-btn-text-icon',
-                            text : "Delete",
-                            icon : rootURL + '/Pman/templates/images/trash.gif'
                         }
                     ]
                 },