1
0
Fork 0

fix folder links in filebrowser dialog

This commit is contained in:
Fabrixxm 2015-07-29 11:55:26 +02:00
commit f5657e283c
4 changed files with 17 additions and 10 deletions

View file

@ -67,6 +67,13 @@ var FileBrowser = {
}
console.log("FileBrowser:", nickname, type,FileBrowser.event, FileBrowser.id );
$(".folders a, .path a").on("click", function(e){
e.preventDefault();
var url = baseurl + "/fbrowser/" + FileBrowser.type + "/" + this.dataset.folder + "?mode=minimal" + location['hash'];
location.href = url;
});
$(".photo-album-photo-link").on('click', function(e){
e.preventDefault();