From e1c6724c54744e923cdf34b174a30aea12a10256 Mon Sep 17 00:00:00 2001 From: Maciej Tronowski Date: Mon, 30 Mar 2015 17:21:15 +0200 Subject: [PATCH] fix path for grid ftp files --- qcg/templates/qcg/job_new.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcg/templates/qcg/job_new.html b/qcg/templates/qcg/job_new.html index 6f829d0..ebd9afc 100644 --- a/qcg/templates/qcg/job_new.html +++ b/qcg/templates/qcg/job_new.html @@ -41,7 +41,7 @@ return; } - var file = fullPath(filex.host + filex.path.full() + '/', selected[0]); + var file = fullPath(filex.host + '/' + filex.path.full() + '/', selected[0]); target.selectize.clear(); target.selectize.addOption({value: file, text: file}); @@ -58,7 +58,7 @@ var target = this; return gridftpButton.clone().click(function() { $('#select-btn').off().click(function() { - var path = filex.host + filex.path.full() + '/'; + var path = filex.host + '/' + filex.path.full() + '/'; _.each(filex.selectedFiles(), function(item) { var file = fullPath(path, item); -- 1.7.9.5