Merge pull request #5769 from owncloud/files-changedirjsevent
Added JS event for when the user changes the directory
This commit is contained in:
commit
43230f11f6
|
@ -170,6 +170,12 @@ var FileList={
|
|||
return;
|
||||
}
|
||||
FileList.setCurrentDir(targetDir, changeUrl);
|
||||
$('#fileList').trigger(
|
||||
jQuery.Event('changeDirectory', {
|
||||
dir: targetDir,
|
||||
previousDir: currentDir
|
||||
}
|
||||
));
|
||||
FileList.reload();
|
||||
},
|
||||
linkTo: function(dir) {
|
||||
|
|
Loading…
Reference in New Issue