Mark Events without room as unscheduled events

This commit is contained in:
Nishanth Vijayan 2016-03-26 00:00:53 +05:30
parent 10ef898a0d
commit 88a1197b12

View file

@ -89,7 +89,7 @@ var Schedule = {
snapMode: "inner", snapMode: "inner",
zIndex: 2 zIndex: 2
}); });
if (date == "none") { if (date == "none" || vars["room_id"] == null) {
$('#unscheduled').append(newEvent); $('#unscheduled').append(newEvent);
} else { } else {
if (!scheduleDayEvents.hasOwnProperty(date)) { if (!scheduleDayEvents.hasOwnProperty(date)) {