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

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

index 4ccfab9..0e2d1e0 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.queuegrid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.queuepanel.active) {\n       //this.footer.onClick('first');\n    }\n}"
                },
                "autoExpandColumn" : "summary",
index c289fb4..0cb1b18 100644 (file)
@@ -548,7 +548,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');
                    });