projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128afcb
)
Added proper support for JSONP requests
author
Alexander Ebert
<ebert@woltlab.com>
Thu, 28 Feb 2013 13:12:13 +0000
(14:12 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Thu, 28 Feb 2013 13:12:13 +0000
(14:12 +0100)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 3b17ea4a196ab35737bcc8552d494fbde7a8a63b..657af68996ce5b31e16843afe841e01c32fafa15 100755
(executable)
--- 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),