Commit 14d0d1e2 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

period fixes

parent 1e9e0747
......@@ -589,8 +589,8 @@ var STWkit;
PeriodCard.prototype.changeFn = function (changeCard) {
var self = this;
if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) {
self.startDateInput = changeCard.obsDateInput.value;
self.startTimeInput = changeCard.obsTimeInput.value;
self.startDateInput.value = changeCard.obsDateInput.value;
self.startTimeInput.value = changeCard.obsTimeInput.value;
self.updateFromStartDate();
}
};
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -651,8 +651,8 @@ module STWkit {
public changeFn(changeCard) {
var self = this;
if ((typeof changeCard.obsDateInput !== 'undefined') && (typeof changeCard.obsTimeInput !== 'undefined')) {
self.startDateInput = changeCard.obsDateInput.value;
self.startTimeInput = changeCard.obsTimeInput.value;
self.startDateInput.value = changeCard.obsDateInput.value;
self.startTimeInput.value = changeCard.obsTimeInput.value;
self.updateFromStartDate();
}
}
......
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