Merge pull request #913 from nishanthvijayan/fix-schedule-rooms
Mark Events without a room as unscheduled events
This commit is contained in:
commit
ae917abbc6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue