From 30004ef6d84ac26dd1251de3078ea94e3ef304b1 Mon Sep 17 00:00:00 2001 From: cramakri <cramakri> Date: Mon, 28 Jan 2013 14:33:00 +0000 Subject: [PATCH] CCS-25 SP-463 : Fixed the file download view for the new file types. SVN: 28216 --- .../1/as/webapps/basynthec/browser/basynthec-browser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js b/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js index 816d1689f84..e05244cc6a2 100644 --- a/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js +++ b/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js @@ -1374,6 +1374,9 @@ function filesForDataSet(d) if (d.loadingFiles) return [{ pathInListing : "Loading..." }]; var fileFilter = function(file) { + if (file.isDirectory) return false; + return true; +/* if (!file.isDirectory) { if (endsWith(file.pathInDataSet, "xls")) { return true; @@ -1383,6 +1386,7 @@ function filesForDataSet(d) } } return false; +*/ }; return (d.files) ? d.files.filter(fileFilter) : []; -- GitLab