diff --git a/pandora_console/include/javascript/pandora_fullcalendar.js b/pandora_console/include/javascript/pandora_fullcalendar.js index 853405eb1c..1d07e1974f 100644 --- a/pandora_console/include/javascript/pandora_fullcalendar.js +++ b/pandora_console/include/javascript/pandora_fullcalendar.js @@ -445,7 +445,12 @@ function save_data_input(calendar) { // eslint-disable-next-line no-unused-vars function loadEventBBDD(events) { - if (events == undefined || events === null || events === "") { + if ( + events == undefined || + events === null || + events === "null" || + events === "" + ) { $(".alert_schedule").show(); return {}; }