X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=blobdiff_plain;f=js%2Fui.js;h=1ddf65a3d5b7c2fd2ebe3e3fe6547a4ae585030b;hp=5d631ced9a183e556043ebd99b4eb751e9760d84;hb=87be10576902819cc7d688596c60093ae550adb4;hpb=8f9306c52d312af9e86cdf488bb67e24a2517bfc;ds=inline diff --git a/js/ui.js b/js/ui.js index 5d631ce..1ddf65a 100644 --- 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.withCredentials = "true"; //XHR.setRequestHeader("Accept", "application/json"); try { XHR.send(aSendData); // Send actual form data.