From 5c1c57fc03f2fad0afef04328330672604010bbf Mon Sep 17 00:00:00 2001 From: Moritz Strohm <strohm@data-quest.de> Date: Fri, 18 Oct 2024 14:26:15 +0000 Subject: [PATCH] lib/fullcalendar.js: use size=auto for dialogs, fixes #4727 Closes #4727 Merge request studip/studip!3530 --- resources/assets/javascripts/lib/fullcalendar.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/assets/javascripts/lib/fullcalendar.js b/resources/assets/javascripts/lib/fullcalendar.js index 5b7d03259e0..c4b0edf5bbd 100644 --- a/resources/assets/javascripts/lib/fullcalendar.js +++ b/resources/assets/javascripts/lib/fullcalendar.js @@ -263,7 +263,8 @@ class Fullcalendar resource_id: drop_resource_id, begin: this.toRFC3339String(info.event.start.setHours(0, 0, 0)), end: this.toRFC3339String(info.event.start.setHours(23, 59, 59)) - } + }, + size: 'auto' } ); } else { @@ -289,7 +290,8 @@ class Fullcalendar resource_id: drop_resource_id, begin: this.toRFC3339String(info.event.start), end: this.toRFC3339String(real_end) - } + }, + size: 'auto' } ); } else { @@ -312,7 +314,8 @@ class Fullcalendar resource_id: drop_resource_id, begin: this.toRFC3339String(info.event.start), end: this.toRFC3339String(info.event.end) - } + }, + size: 'auto' } ); } else { -- GitLab