mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fix confusing connection between date and time pickers
This commit is contained in:
@@ -191,8 +191,10 @@ $(function () {
|
|||||||
if (date === null) {
|
if (date === null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
date.set({'hour': 0, 'minute': 0, 'second': 0});
|
if ($timepicker.val() === "") {
|
||||||
$timepicker.data('DateTimePicker').date(date);
|
date.set({'hour': 0, 'minute': 0, 'second': 0});
|
||||||
|
$timepicker.data('DateTimePicker').date(date);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user