Pman.Tab.AdminProjectMembers.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 08:05:15 +0000 (16:05 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 08:05:15 +0000 (16:05 +0800)
Pman.Tab.AdminProjectMembers.js

index 66af90e..a71fbc1 100644 (file)
@@ -420,41 +420,6 @@ Pman.Tab.AdminProjectMembers = new Roo.util.Observable({
                             enableToggle : true,
                             text : "Staff",
                             toggleGroup : 'appm'
-                        },
-                        {
-                            xtype: 'Button',
-                            xns: Roo.Toolbar,
-                            text : "Edit",
-                            cls : 'x-btn-text-icon',
-                            icon : Roo.rootURL + 'images/default/tree/leaf.gif',
-                            listeners : {
-                                click : function()
-                                {
-                                    var s = _this.grid.getSelectionModel().getSelections();
-                                    if (!s.length || (s.length > 1))  {
-                                        Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
-                                        return;
-                                    }
-                                    if (!_this.dialog) return;
-                                    _this.dialog.show(s[0].data, function() {
-                                        _this.grid.footer.onClick('first');
-                                    }); 
-                                    
-                                }
-                            }
-                        },
-                        {
-                            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, 'Person'); 
-                                }
-                            }
                         }
                     ]
                 },