dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "mediawiki.action.view.rightClickEdit: Remove redundanat dom-ready handler"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki
/
ForeignApi.js
diff --git
a/resources/src/mediawiki/ForeignApi.js
b/resources/src/mediawiki/ForeignApi.js
index
f51403f
..
1a3cdd5
100644
(file)
--- a/
resources/src/mediawiki/ForeignApi.js
+++ b/
resources/src/mediawiki/ForeignApi.js
@@
-50,12
+50,12
@@
this.apiUrl = String( url );
this.anonymous = options && options.anonymous;
this.apiUrl = String( url );
this.anonymous = options && options.anonymous;
- options = $.extend( /*deep=*/ true,
+ options = $.extend( /*
deep=*/ true,
{
ajax: {
url: this.apiUrl,
xhrFields: {
{
ajax: {
url: this.apiUrl,
xhrFields: {
- withCredentials:
this.anonymous ? false : true
+ withCredentials:
!this.anonymous
}
},
parameters: {
}
},
parameters: {