From b2cfc5a8fea0f2d2e573f775b418975fed3bd5ef Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 11 Feb 2015 13:47:05 +0800 Subject: [PATCH] Pman.Tab.AdminNotify.bjs Pman.Tab.AdminNotify.js --- Pman.Tab.AdminNotify.bjs | 3 +-- Pman.Tab.AdminNotify.js | 13 +++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/Pman.Tab.AdminNotify.bjs b/Pman.Tab.AdminNotify.bjs index cca5c3b..39265eb 100644 --- a/Pman.Tab.AdminNotify.bjs +++ b/Pman.Tab.AdminNotify.bjs @@ -21,7 +21,6 @@ "items" : [ { "listeners" : { - "|rowdblclick" : "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n", "|render" : "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}" }, "autoExpandColumn" : "person_id_name", @@ -134,7 +133,7 @@ }, { "listeners" : { - "|click" : "function()\n {\n Pman.genericDelete(_this, 'core_notify'); \n }\n " + "|click" : "function()\n{\n Pman.genericDelete(_this, 'core_notify'); \n}\n " }, "text" : "Delete", "xtype" : "Button", diff --git a/Pman.Tab.AdminNotify.js b/Pman.Tab.AdminNotify.js index a70f067..55e4277 100644 --- a/Pman.Tab.AdminNotify.js +++ b/Pman.Tab.AdminNotify.js @@ -306,9 +306,9 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ xns : Roo.Toolbar, listeners : { click : function() - { - Pman.genericDelete(_this, 'core_notify'); - } + { + Pman.genericDelete(_this, 'core_notify'); + } } }, { @@ -439,13 +439,6 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ } ], listeners : { - rowdblclick : function (_self, rowIndex, e) - { - if (!_this.dialog) return; - _this.dialog.show( this.getDataSource().getAt(rowIndex), function() { - _this.grid.footer.onClick('first'); - }); - }, render : function() { _this.grid = this; -- 2.39.2