mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 16:02:54 +03:00
Fixed js problem with backend calendar ajax error handling.
This commit is contained in:
parent
a24597ba4d
commit
2c46042f0e
1 changed files with 3 additions and 3 deletions
|
@ -1038,7 +1038,7 @@ var BackendCalendar = {
|
||||||
};
|
};
|
||||||
|
|
||||||
calendarEvents.push(event);
|
calendarEvents.push(event);
|
||||||
}, 'json').fail(GeneralFunctions.ajaxFailureHandler);
|
});
|
||||||
|
|
||||||
$calendar.fullCalendar('removeEvents');
|
$calendar.fullCalendar('removeEvents');
|
||||||
$calendar.fullCalendar('addEventSource', calendarEvents);
|
$calendar.fullCalendar('addEventSource', calendarEvents);
|
||||||
|
@ -1256,7 +1256,7 @@ var BackendCalendar = {
|
||||||
// Convert the titles to html code.
|
// Convert the titles to html code.
|
||||||
//BackendCalendar.convertTitlesToHtml();
|
//BackendCalendar.convertTitlesToHtml();
|
||||||
}
|
}
|
||||||
}, 'json');
|
}, 'json').fail(GeneralFunction.ajaxFailureHandler);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue