Pman.Dialog.MTrackTime.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 14 Jan 2021 07:24:10 +0000 (15:24 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 Jan 2021 07:24:10 +0000 (15:24 +0800)
Pman.Dialog.MTrackTime.js

Pman.Dialog.MTrackTime.bjs
Pman.Dialog.MTrackTime.js

index 0e2d1e0..1c89775 100644 (file)
          "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",
+            "|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.opengrid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.openpanel.active) {\n       //this.footer.onClick('first');\n    }\n}"
            },
            "autoExpandColumn" : "summary",
index 0cb1b18..c99e25a 100644 (file)
@@ -1548,7 +1548,7 @@ Pman.Dialog.MTrackTime = {
             },
            rowdblclick : function (_self, rowIndex, e)
             {
-                if (!_this.dialog) return;
+                if (!_this.dialog) { return; }
                 _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
                     _this.grid.footer.onClick('first');
                 });