diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2025-03-05 15:30:45 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2025-03-05 15:30:45 +0000 |
| commit | fe7ff347dc6638a76842640bd8fdc81d49b7d3f2 (patch) | |
| tree | e86488b4bffd3af11b833b019abfadd6b9104ccd /resources | |
| parent | 569def84e6ccc37c0495ba2a29b1a231197dc5f7 (diff) | |
STUDIP.Fullcalendar.datesRender: do nothing when it is a semester plan, fixes #5240
Closes #5240
Merge request studip/studip!4015
(cherry picked from commit ed03bd0f97616e2f1499df87a022c2bfce7e9436)
ffecf63a STUDIP.Fullcalendar.datesRender: do nothing when it is a semester plan
Co-authored-by: Moritz Strohm <strohm@data-quest.de>
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/assets/javascripts/lib/fullcalendar.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/assets/javascripts/lib/fullcalendar.js b/resources/assets/javascripts/lib/fullcalendar.js index 0558572..f4d5f48 100644 --- a/resources/assets/javascripts/lib/fullcalendar.js +++ b/resources/assets/javascripts/lib/fullcalendar.js @@ -625,6 +625,11 @@ class Fullcalendar } }, datesRender (info) { + if ($(node).hasClass('semester-plan')) { + //Nothing to do in the semester plan, since it already displays + //all the information on loading. + return; + } let activeRange = info.view.props.dateProfile.activeRange; let timestamp = activeRange.start.getTime() / 1000; if ($(info.el).hasClass('institute-plan')) { |
