From e55751742d168bfb4399b69f487f5185b6758a71 Mon Sep 17 00:00:00 2001 From: cdujeu Date: Mon, 29 Aug 2016 12:59:00 +0200 Subject: [PATCH] Refix upload options --- core/src/plugins/uploader.html/class.XHRUploader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/plugins/uploader.html/class.XHRUploader.js b/core/src/plugins/uploader.html/class.XHRUploader.js index 3a2f41a736..a32e1bee79 100644 --- a/core/src/plugins/uploader.html/class.XHRUploader.js +++ b/core/src/plugins/uploader.html/class.XHRUploader.js @@ -766,13 +766,13 @@ Class.create("XHRUploader", { host = this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_HOST']; } var port = this.configs.get("BOOSTER_MAIN_PORT"); - if(this.configs.get("BOOSTER_UPLOAD_ADVANCED") && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['booster_ws_advanced'] === 'custom' && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_PORT']){ + if(this.configs.get("BOOSTER_UPLOAD_ADVANCED") && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['booster_upload_advanced'] === 'custom' && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_PORT']){ port = this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_PORT']; } xhr.withCredentials = true; - uri = "http"+(this.configs.get("UPLOAD_SECURE")?"s":"")+"://"+this.configs.get("UPLOAD_HOST")+":"+this.configs.get("UPLOAD_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; }