Commit aa3a585b authored by Pettersson Tomas's avatar Pettersson Tomas

adjsuted timpickerpopup position

parent b9063c55
......@@ -20,6 +20,10 @@
color: black;
}
.exercise-control .uk-dropdown, .uk-dropdown-blank {
top: -200px;
}
.exercise-control .irs-to {
background-color: #ddd;
color: black;
......
......@@ -408,9 +408,10 @@ var EXTrajectory = (function (_super) {
}
else {
var diff = Math.abs(self.from - newdate);
var nrofhours = Math.round(((diff / 1000) / 60) / 60);
var nrofhours = ((diff / 1000) / 60) / 60;
if (nrofhours <= 72) {
self.durationhours = nrofhours;
self.to = moment.utc(self.endDateInput.value + ' ' + self.endTimeInput.value, self.datetimeFormat);
self.refreshTrajectory();
self.fireChangeFn(self);
delete self.durationhours;
......@@ -735,6 +736,7 @@ var EXTrajectory = (function (_super) {
EXTrajectory.prototype.clear = function () {
var self = this;
_super.prototype.clear.call(this);
self.drawnfeature = null;
self.trajectoryLabelLayer.clearLayers();
self.trajectoryLayer.clearLayers();
self.trajMarkerArray = [];
......
......@@ -20,6 +20,10 @@
color: black;
}
.exercise-control .uk-dropdown, .uk-dropdown-blank {
top: -200px;
}
.exercise-control .irs-to {
background-color: #ddd;
color: black;
......
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