big update to tickets
[Pman.MTrack] / Pman.Tab.MTrackMilestone.js
index 2246002..973030a 100644 (file)
@@ -80,7 +80,7 @@ Pman.Tab.MTrackMilestone = new Roo.XComponent({
       },
      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');
           }); 
@@ -221,7 +221,7 @@ Pman.Tab.MTrackMilestone = new Roo.XComponent({
        listeners : {
         click : function()
          {
-             if (!_this.dialog) return;
+         if (!_this.dialog) { return; }
              _this.dialog.show( { id : 0 } , function() {
                  _this.grid.footer.onClick('first');
             }); 
@@ -243,7 +243,7 @@ Pman.Tab.MTrackMilestone = new Roo.XComponent({
                  Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
                  return;
              }
-             if (!_this.dialog) return;
+             if (!_this.dialog) { return; }
              _this.dialog.show(s[0].data, function() {
                  _this.grid.footer.onClick('first');
              });