fit-ui 3.3.2 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Fit.UI.js CHANGED
@@ -682,7 +682,7 @@ Fit._internal =
682
682
  {
683
683
  Core:
684
684
  {
685
- VersionInfo: { Major: 3, Minor: 3, Patch: 2 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
685
+ VersionInfo: { Major: 3, Minor: 3, Patch: 4 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
686
686
  }
687
687
  };
688
688
 
@@ -15522,18 +15522,21 @@ Fit.Controls.DatePicker = function(ctlId)
15522
15522
  });
15523
15523
  }
15524
15524
  },
15525
- onBeforeAutoClose: function() // Fit.UI specific callback - triggered when auto closing as a result of selecting a date in the calendar widget
15525
+ /*onBeforeAutoClose: function() // Fit.UI specific callback - triggered when auto closing as a result of selecting a date in the calendar widget
15526
15526
  {
15527
- if (me.AnchorDate() !== null)
15527
+ if (me.IsValid() === false && me.ShowValidationErrorsOnChange() === true)
15528
15528
  {
15529
- // Open/Close to update visualized date range,
15530
- // happening in the beforeShowDay(..) callback.
15531
- me.Hide();
15532
- me.Show();
15529
+ if (me.AnchorDate() !== null)
15530
+ {
15531
+ // Open/Close to update visualized date range,
15532
+ // happening in the beforeShowDay(..) callback.
15533
+ me.Hide();
15534
+ me.Show();
15535
+ }
15533
15536
 
15534
15537
  return false; // Do not auto close calendar
15535
15538
  }
15536
- },
15539
+ },*/
15537
15540
  onClose: function(dateText, dp)
15538
15541
  {
15539
15542
  open = false;