I'm using the jqueryfiletree plugin, and it seems established and fairly smooth, but I have some issues:
Despite the options being set as follows:
$(function() {
$("#sourceFileTree").fileTree({
onlyFolders: true,
root: "C%3a%5cProjects%5cBMW%5cCode%5cFileTransfers.Web",
script: "/FileTree/Tree",
multiFolder: false,
multiSelect: false,
preventLinkAction: true
});
});
onlyFoldersseems to be ignored, and any folder opened also shows files it contains.- The same goes for
multiSelect: false. While I can "select" (highlight it in bold) only one file at a time, I can still check as many folder and file checkboxes as I want. - Only
multiFolder: falseseems to work as documented, but I don't know if it's because that's a default behaviour anyway.
What am I doing wrong if I want to configure this widget to allow the user to select only one folder?