Fixes broken links in custom headers/footers. Updates default options.

This commit is contained in:
Lars Jung 2012-02-17 03:23:42 +01:00
parent ecf91b506e
commit 1a8ef62188
2 changed files with 8 additions and 4 deletions

View File

@ -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),

View File

@ -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);
}
};