From 45b144efb883b5bdcbfa40889cc8c2f4f372964d Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 8 May 2014 18:34:58 +0800 Subject: [PATCH] Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- Pman.Dialog.CoreAutoSavePreview.bjs | 3 +-- Pman.Dialog.CoreAutoSavePreview.js | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index 93011340..eff269df 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -47,8 +47,7 @@ "items": [ { "listeners": { - "|render": "function() \n{\n _this.grid = this; \n \n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}", - "|rowdblclick": "function (_self, rowIndex, e)\n{\n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(this, _this.source);\n }\n}\n" + "|render": "function() \n{\n _this.grid = this; \n \n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}" }, "*prop": "grid", "autoExpandColumn": "filename", diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index 6a6c0d25..94226120 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -75,14 +75,6 @@ Pman.Dialog.CoreAutoSavePreview = { if (_this.panel.active) { this.footer.onClick('first'); } - }, - rowdblclick : function (_self, rowIndex, e) - { - _this.dialog.hide(); - - if (_this.callback) { - _this.callback.call(this, _this.source); - } } }, autoExpandColumn : 'filename', -- 2.39.2