diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-23 08:39:23 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-07-23 08:39:23 -0400 |
commit | 3a60bef2b6cd8288c6be50915687ef7c0df89878 (patch) | |
tree | 0d5e8ff00e29e75bcefc0d44e8770651303dbaed | |
parent | eb1eb38c0174b542e388b32039589c0030ebd073 (diff) | |
download | volse-hubzilla-3a60bef2b6cd8288c6be50915687ef7c0df89878.tar.gz volse-hubzilla-3a60bef2b6cd8288c6be50915687ef7c0df89878.tar.bz2 volse-hubzilla-3a60bef2b6cd8288c6be50915687ef7c0df89878.zip |
Include credentials for session cookie in xhr
-rw-r--r-- | view/tpl/cloud_actionspanel.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl index 688b8f33d..86fda883c 100644 --- a/view/tpl/cloud_actionspanel.tpl +++ b/view/tpl/cloud_actionspanel.tpl @@ -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; |