mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
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 postData = {
|
||||
'csrfToken': GlobalVariables.csrfToken,
|
||||
'unavailable': JSON.stringify(unavailable)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue