From: Alexander Ebert Date: Sat, 23 Feb 2013 16:06:57 +0000 (+0100) Subject: Allow different dataType value for WCF.Action.Proxy X-Git-Tag: 2.0.0_Beta_1~457^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=944d7f9708e6e97cf3e2bef5d241568fe74bd591;p=GitHub%2FWoltLab%2FWCF.git Allow different dataType value for WCF.Action.Proxy --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 748c7e316e..01c3667e6d 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1467,6 +1467,7 @@ WCF.Action.Proxy = Class.extend({ this.options = $.extend(true, { autoSend: false, data: { }, + dataType: 'json', after: null, init: null, failure: null, @@ -1499,7 +1500,7 @@ WCF.Action.Proxy = Class.extend({ $.ajax({ data: this.options.data, - dataType: 'json', + dataType: this.options.dataType, type: this.options.type, url: this.options.url, success: $.proxy(this._success, this),