From 68420f9509d0b40c190e29210ace29a31c69f4bf Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 20 Feb 2019 13:24:43 +0100 Subject: [PATCH] Do not check jsonp since we are not using it and it might cause errors by setting dataType to script falsely --- api/js/jsapi/egw_json.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/jsapi/egw_json.js b/api/js/jsapi/egw_json.js index 9e8a882dec..0f3198c0ec 100644 --- a/api/js/jsapi/egw_json.js +++ b/api/js/jsapi/egw_json.js @@ -130,6 +130,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) dataType: 'json', type: method, success: this.handleResponse, + jsonp: false, error: error || this.handleError });