forked from mirrors/easyappointments
Added csrf token for ajax request
This commit is contained in:
parent
78b114e614
commit
13e1246a47
1 changed files with 1 additions and 0 deletions
|
@ -1315,6 +1315,7 @@ var BackendCalendar = {
|
||||||
var postUrl = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_save_unavailable';
|
var postUrl = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_save_unavailable';
|
||||||
|
|
||||||
var postData = {
|
var postData = {
|
||||||
|
'csrfToken': GlobalVariables.csrfToken,
|
||||||
'unavailable': JSON.stringify(unavailable)
|
'unavailable': JSON.stringify(unavailable)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue