Pman.Dialog.CoreAutoSavePreview.bjs
authorEdward <edward@roojs.com>
Thu, 8 May 2014 10:34:58 +0000 (18:34 +0800)
committerEdward <edward@roojs.com>
Thu, 8 May 2014 10:34:58 +0000 (18:34 +0800)
Pman.Dialog.CoreAutoSavePreview.js

Pman.Dialog.CoreAutoSavePreview.bjs
Pman.Dialog.CoreAutoSavePreview.js

index 9301134..eff269d 100644 (file)
@@ -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",
index 6a6c0d2..9422612 100644 (file)
@@ -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',