From 944d7f9708e6e97cf3e2bef5d241568fe74bd591 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 23 Feb 2013 17:06:57 +0100 Subject: [PATCH] Allow different dataType value for WCF.Action.Proxy --- wcfsetup/install/files/js/WCF.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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), -- 2.20.1