Fixed: Restoring backup from zip file on disk
This commit is contained in:
parent
6c324c8a1c
commit
5960035d5d
|
@ -30,7 +30,7 @@ function addApiKey(ajaxOptions) {
|
|||
|
||||
function addContentType(ajaxOptions) {
|
||||
if (
|
||||
!ajaxOptions.contentType &&
|
||||
ajaxOptions.contentType == null &&
|
||||
ajaxOptions.dataType === 'json' &&
|
||||
(ajaxOptions.method === 'PUT' || ajaxOptions.method === 'POST')) {
|
||||
ajaxOptions.contentType = 'application/json';
|
||||
|
|
Loading…
Reference in New Issue