summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-11-25 14:50:24 +0100
committerPatrick Simianer <p@simianer.de>2015-11-25 14:50:24 +0100
commit7e667e541af1532df36ac02c9a32f6da112edbc1 (patch)
tree163dd7c4891d23fcf6f0aef56d9e183b72c3b219 /js/common.js
parent09d2ee0e1e9c36b993c1e3dcf954b0e749cb107c (diff)
lots of stuff, just for backup
Diffstat (limited to 'js/common.js')
-rw-r--r--js/common.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/common.js b/js/common.js
index 4e7d3fe..4af7cd0 100644
--- a/js/common.js
+++ b/js/common.js
@@ -53,6 +53,7 @@ function CreateCORSRequest(method, url)
var xhr = new XMLHttpRequest();
if ("withCredentials" in xhr) {
xhr.open(method, url, true);
+ xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded; charset=UTF-8');
} else {
xhr = null;
}