diff --git a/src/_h5ai/js/inc/Core.js b/src/_h5ai/js/inc/Core.js index 3790e899..b4738be8 100644 --- a/src/_h5ai/js/inc/Core.js +++ b/src/_h5ai/js/inc/Core.js @@ -15,20 +15,24 @@ rootAbsHref: "/", h5aiAbsHref: "/_h5ai/", - customHeader: "_h5ai.header.html", - customFooter: "_h5ai.footer.html", + + customHeader: null, + customFooter: null, viewmodes: ["details", "icons"], sortorder: "na", showTree: true, slideTree: true, folderStatus: {}, - lang: null, + lang: "en", useBrowserLang: true, setParentFolderLabels: true, linkHoverStates: true, dateFormat: "yyyy-MM-dd HH:mm", + showThumbs: false, + thumbTypes: ["bmp", "gif", "ico", "image", "jpg", "png", "tiff"], + zippedDownload: false }, settings = $.extend({}, defaults, config.options), diff --git a/src/_h5ai/js/inc/ZippedDownload.js b/src/_h5ai/js/inc/ZippedDownload.js index 375b9585..b2388ab0 100644 --- a/src/_h5ai/js/inc/ZippedDownload.js +++ b/src/_h5ai/js/inc/ZippedDownload.js @@ -97,7 +97,7 @@ .appendTo($("#navbar")); $("body>nav,body>footer,#tree").on("mousedown", noSelection); - $("#extended").on("mousedown", "a", noSelectionUnlessCtrl); + $("#content").on("mousedown", "a", noSelectionUnlessCtrl); $document.on("mousedown", selectionStart); } };