Permalink
Browse files

Fixing upload

  • Loading branch information...
1 parent 570c769 commit 70defc6f11158b1c50949aec08281ef96a8a9152 @ghecquet ghecquet committed Sep 7, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/plugins/uploader.html/class.XHRUploader.js
@@ -772,7 +772,7 @@ Class.create("XHRUploader", {
xhr.withCredentials = true;
- uri = "http"+(this.configs.get("UPLOAD_SECURE")?"s":"")+"://"+host+":"+port+"/"+this.configs.get("UPLOAD_PATH")+"/"+pydio.user.activeRepository + currentDir;
+ uri = "http"+(this.configs.get("UPLOAD_SECURE")?"s":"")+"://"+host+":"+port+"/"+this.configs.get("UPLOAD_PATH")+"/"+pydio.user.activeRepository + currentDir + item.file.name;
}
@@ -1144,4 +1144,4 @@ if(!XMLHttpRequest.prototype.sendAsBinary){
var blob = bb.getBlob();
this.send(blob);
};
-}
+}

0 comments on commit 70defc6

Please sign in to comment.