Pman.Tab.AdminContacts.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 10:17:20 +0000 (18:17 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 10:17:20 +0000 (18:17 +0800)
Pman.Tab.AdminContacts.js

index 5b0835d..a081436 100644 (file)
@@ -628,15 +628,15 @@ Pman.Tab.AdminContacts = new Roo.util.Observable({
                         {
                             xtype: 'Button',
                             xns: Roo.Toolbar,
-                            text : "Delete",
-                            cls : 'x-btn-text-icon',
-                            icon : rootURL + '/Pman/templates/images/trash.gif',
                             listeners : {
                                 click : function()
                                 {
-                                     Pman.genericDelete(_this, 'Companies'); 
+                                     Pman.genericDelete(_this, 'Person'); 
                                 }
-                            }
+                            },
+                            cls : 'x-btn-text-icon',
+                            text : "Delete",
+                            icon : rootURL + '/Pman/templates/images/trash.gif'
                         }
                     ]
                 },