Commit 7fc944f7 authored by Michael Koch's avatar Michael Koch
Browse files

Show "to event" input when selecting a lernsprint room

parent 7582ccce
......@@ -130,6 +130,7 @@ function detectRoomSelection() {
$("#new_reservation_from_event").removeClass("longer");
$("#new_reservation_from_event").addClass("long");
$("#new_reservation_from_event").datetimepicker({ disabledWeekDays: [] });
$("#new_reservation_to_event").show();
$("#new_reservation_to_event").datetimepicker({ minDate: _getFormattedDate(_addDays(moment()._d, 7)), timepicker: false, defaultTime: '22:00', disabledWeekDays: [] });
}
if (_validateDate($("#new_reservation_from_event").val(), 'YYYY-MM-DD HH:mm')) {
......
Supports Markdown
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