Commit 216ab7b8 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

testing

parent cd02bb58
...@@ -612,8 +612,8 @@ var STWkit; ...@@ -612,8 +612,8 @@ var STWkit;
var self = this; var self = this;
if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) { if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) {
self.obsdate = moment.utc(changeCard.obsDateInput.value + ' ' + changeCard.obsTimeInput.value, self.datetimeFormat); self.obsdate = moment.utc(changeCard.obsDateInput.value + ' ' + changeCard.obsTimeInput.value, self.datetimeFormat);
self.adjustDateToRange(); if (document.body.contains(self.forwardButton))
self.updateSlider(); self.forwardButton.click();
} }
}; };
PeriodCard.prototype.isDateValid = function (date) { PeriodCard.prototype.isDateValid = function (date) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -675,8 +675,7 @@ module STWkit { ...@@ -675,8 +675,7 @@ module STWkit {
var self = this; var self = this;
if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) { if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) {
self.obsdate = moment.utc(changeCard.obsDateInput.value + ' ' + changeCard.obsTimeInput.value, self.datetimeFormat); self.obsdate = moment.utc(changeCard.obsDateInput.value + ' ' + changeCard.obsTimeInput.value, self.datetimeFormat);
self.adjustDateToRange(); if (document.body.contains(self.forwardButton)) self.forwardButton.click();
self.updateSlider();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment