projects
/
lantea.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of linz:/srv/git/lantea
[lantea.git]
/
js
/
ui.js
diff --git
a/js/ui.js
b/js/ui.js
index a419962fc47310238dd317d14ea4d5a4371fce42..d8953ad0df4b9a7815bd3a5db4bb64056f113db9 100644
(file)
--- a/
js/ui.js
+++ b/
js/ui.js
@@
-760,6
+760,7
@@
function fetchBackend(aEndpoint, aMethod, aSendData, aCallback, aCallbackForward
}
};
XHR.open(aMethod, gBackendURL + aEndpoint, true);
}
};
XHR.open(aMethod, gBackendURL + aEndpoint, true);
+ XHR.withCredentials = "true";
//XHR.setRequestHeader("Accept", "application/json");
try {
XHR.send(aSendData); // Send actual form data.
//XHR.setRequestHeader("Accept", "application/json");
try {
XHR.send(aSendData); // Send actual form data.