Skip to content
Snippets Groups Projects
Commit 5c1c57fc authored by Moritz Strohm's avatar Moritz Strohm
Browse files

lib/fullcalendar.js: use size=auto for dialogs, fixes #4727

Closes #4727

Merge request studip/studip!3530
parent 1201e3d0
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,8 @@ class Fullcalendar ...@@ -263,7 +263,8 @@ class Fullcalendar
resource_id: drop_resource_id, resource_id: drop_resource_id,
begin: this.toRFC3339String(info.event.start.setHours(0, 0, 0)), begin: this.toRFC3339String(info.event.start.setHours(0, 0, 0)),
end: this.toRFC3339String(info.event.start.setHours(23, 59, 59)) end: this.toRFC3339String(info.event.start.setHours(23, 59, 59))
} },
size: 'auto'
} }
); );
} else { } else {
...@@ -289,7 +290,8 @@ class Fullcalendar ...@@ -289,7 +290,8 @@ class Fullcalendar
resource_id: drop_resource_id, resource_id: drop_resource_id,
begin: this.toRFC3339String(info.event.start), begin: this.toRFC3339String(info.event.start),
end: this.toRFC3339String(real_end) end: this.toRFC3339String(real_end)
} },
size: 'auto'
} }
); );
} else { } else {
...@@ -312,7 +314,8 @@ class Fullcalendar ...@@ -312,7 +314,8 @@ class Fullcalendar
resource_id: drop_resource_id, resource_id: drop_resource_id,
begin: this.toRFC3339String(info.event.start), begin: this.toRFC3339String(info.event.start),
end: this.toRFC3339String(info.event.end) end: this.toRFC3339String(info.event.end)
} },
size: 'auto'
} }
); );
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment