From 716c05a4ad7d95a0f76c10d94ee05e3e7e5c1625 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 21 Jul 2016 14:50:25 +0200 Subject: [PATCH] Ignore response type for anything but json --- wcfsetup/install/files/js/WCF.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 24fe5f84dd..bf19636a53 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1507,6 +1507,7 @@ WCF.Action.Proxy = Class.extend({ data: options.data, type: options.type, url: options.url, + responseType: (options.dataType === 'json' ? 'application/json' : ''), autoAbort: options.autoAbortPrevious, ignoreError: options.suppressErrors, -- 2.20.1