From 71dd292a8d06147c460354d1f8bbe532a6a4f19a Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 25 Feb 2020 11:19:09 -0500 Subject: [PATCH] Revert "Handle a zero value for scale" This reverts commit a5da6d12f35572d45ab93688b897f54449cf4678. --- web/skins/classic/views/js/montagereview.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/skins/classic/views/js/montagereview.js b/web/skins/classic/views/js/montagereview.js index 51ff02d3a..b543770d7 100644 --- a/web/skins/classic/views/js/montagereview.js +++ b/web/skins/classic/views/js/montagereview.js @@ -1006,13 +1006,11 @@ function initPage() { } } }); - $j('#minTime').on("dp.change", function (e) { $j('#maxTime').data("DateTimePicker").minDate(e.date); }); - $j('#maxTime').datetimepicker({ timeFormat: "HH:mm:ss", dateFormat: "yy-mm-dd", //minDate: $j('#minTime').val(), - //minDate: -7, + minDate: -7, maxDate: +0, constrainInput: false, onClose: function(newDate, oldData) {