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

testing

parent cd02bb58
......@@ -612,8 +612,8 @@ var STWkit;
var self = this;
if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) {
self.obsdate = moment.utc(changeCard.obsDateInput.value + ' ' + changeCard.obsTimeInput.value, self.datetimeFormat);
self.adjustDateToRange();
self.updateSlider();
if (document.body.contains(self.forwardButton))
self.forwardButton.click();
}
};
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 {
var self = this;
if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) {
self.obsdate = moment.utc(changeCard.obsDateInput.value + ' ' + changeCard.obsTimeInput.value, self.datetimeFormat);
self.adjustDateToRange();
self.updateSlider();
if (document.body.contains(self.forwardButton)) self.forwardButton.click();
}
}
......
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