Changes for page Home
Last modified by Benjamin Fischer on 2025/06/04 14:20
From version 72.24
edited by Benjamin Fischer
on 2024/11/06 12:52
on 2024/11/06 12:52
Change comment:
There is no comment for this version
To version 72.21
edited by Benjamin Fischer
on 2024/11/06 12:48
on 2024/11/06 12:48
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,12 +1,12 @@ 1 1 require(["jquery", "fullcalendar"], function (jq) { 2 2 const FC = jq.fullCalendar; 3 - co nst View = FC.View;3 + cosnt View = FC.View; 4 4 5 5 const MonthColView = FC.View.extend({ 6 6 7 7 }); 8 8 9 - FC.defineView('monthCols', MonthColView);9 + fullCalendar.defineView('monthCols', MonthColView); 10 10 11 11 12 12 const init = () => { ... ... @@ -42,7 +42,6 @@ 42 42 defaultDate: "2024-11-06", 43 43 editable: false, 44 44 eventDataTransform: event => { 45 - if (event.url.split("/")[4] === "Holidays") event.rendering = "background"; 46 46 return event; 47 47 }, 48 48 eventRender: function (event, element) {