Merge pull request #3220 from nextcloud/direct-link-open-sidebar
open the sidebar when opening a permalink
This commit is contained in:
commit
30c32e0b16
1 changed files with 5 additions and 0 deletions
|
@ -2478,6 +2478,11 @@
|
|||
if (!_.isArray(file)) {
|
||||
file = [file];
|
||||
}
|
||||
if (file.length === 1) {
|
||||
_.defer(function() {
|
||||
this.showDetailsView(file[0]);
|
||||
}.bind(this));
|
||||
}
|
||||
this.highlightFiles(file, function($tr) {
|
||||
$tr.addClass('searchresult');
|
||||
$tr.one('hover', function() {
|
||||
|
|
Loading…
Reference in a new issue