Merge pull request #913 from nishanthvijayan/fix-schedule-rooms

Mark Events without a room as unscheduled events
This commit is contained in:
Christian Bruckmayer 2016-03-29 11:18:19 -06:00
commit ae917abbc6

View file

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