From 0f4fe15195073f35d416d70b00d911cb3e59e0ed Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Tue, 9 Aug 2016 19:27:43 +0200 Subject: [PATCH] Fix always visible download button. --- src/_h5ai/public/js/lib/ext/download.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_h5ai/public/js/lib/ext/download.js b/src/_h5ai/public/js/lib/ext/download.js index c707daaf..c9f1a8be 100644 --- a/src/_h5ai/public/js/lib/ext/download.js +++ b/src/_h5ai/public/js/lib/ext/download.js @@ -45,7 +45,8 @@ const onClick = () => { action: 'download', as: name + '.' + extension, type, - baseHref: location.getAbsHref() + baseHref: location.getAbsHref(), + hrefs: '' }; each(selectedItems, (item, idx) => {