Added csrf token for ajax request

This commit is contained in:
Alex Tselegidis 2015-07-20 21:13:34 +02:00
parent 78b114e614
commit 13e1246a47
1 changed files with 1 additions and 0 deletions

View File

@ -1315,6 +1315,7 @@ var BackendCalendar = {
var postUrl = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_save_unavailable';
var postData = {
'csrfToken': GlobalVariables.csrfToken,
'unavailable': JSON.stringify(unavailable)
};