From 889cdd4c49457badf1f3514ec17cad6ce20c7a1c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 28 Feb 2013 14:12:13 +0100 Subject: [PATCH] Added proper support for JSONP requests --- wcfsetup/install/files/js/WCF.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 3b17ea4a19..657af68996 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1470,6 +1470,7 @@ WCF.Action.Proxy = Class.extend({ dataType: 'json', after: null, init: null, + jsonp: 'callback', failure: null, showLoadingOverlay: true, success: null, @@ -1501,6 +1502,7 @@ WCF.Action.Proxy = Class.extend({ $.ajax({ data: this.options.data, dataType: this.options.dataType, + jsonp: this.options.jsonp, type: this.options.type, url: this.options.url, success: $.proxy(this._success, this), -- 2.20.1