Pman.Tab.AdminWatches.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:28:29 +0000 (15:28 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:28:29 +0000 (15:28 +0800)
Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js
Pman.Tab.AdminWatches.js

Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js

index af2c41b..5a6dfdf 100644 (file)
                             "xtype": "Toolbar",
                             "|xns": "Roo",
                             "items": [
-                                {
-                                    "text": "Delete",
-                                    "cls": "x-btn-text-icon",
-                                    "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
-                                    "xtype": "Button",
-                                    "listeners": {
-                                        "|click": "function()\n{\n     Pman.genericDelete(_this, 'core_watch'); \n}\n        "
-                                    },
-                                    "|xns": "Roo.Toolbar"
-                                },
                                 {
                                     "text": "Show",
                                     "xtype": "TextItem",
index 28dae4a..14ee052 100644 (file)
@@ -202,19 +202,6 @@ Pman.Tab.AdminWatches = new Roo.util.Observable({
                     xtype: 'Toolbar',
                     xns: Roo,
                     items : [
-                        {
-                            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, 'core_watch'); 
-                                }
-                            }
-                        },
                         {
                             xtype: 'TextItem',
                             xns: Roo.Toolbar,