From: Maciej Tronowski Date: Mon, 30 Mar 2015 15:21:15 +0000 (+0200) Subject: fix path for grid ftp files X-Git-Tag: v1.0~102 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=e1c6724c54744e923cdf34b174a30aea12a10256;p=qcg-portal.git fix path for grid ftp files --- 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);