Include credentials for session cookie in xhr

This commit is contained in:
Andrew Manning 2016-07-23 08:39:23 -04:00
parent eb1eb38c01
commit 3a60bef2b6

View File

@ -167,6 +167,7 @@ function DragDropUploadFile(file) {
//
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
(xhr.upload || xhr).addEventListener('progress', function(e) {
var done = e.position || e.loaded
var total = e.totalSize || e.total;