fix folder links in filebrowser dialog
This commit is contained in:
parent
b52158e7cf
commit
f5657e283c
4 changed files with 17 additions and 10 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue