-
Bug
-
Resolution: Fixed
-
Major
-
1.4.0
-
None
-
Ametys 3.6.0M3
When we have some news without category, the calendar will display the title, prefixed by "Undefined".
I think this line (l.376 in agenda.i18n.js):
var eventCode = "<span class='hidden-L'>" + event.catLabel + "</span>";
sould be replaced with :
var eventCode = (event.catLabel !== undefined)?"<span class='hidden-L'>" + event.catLabel + "</span>":"";