mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
open the sidebar when opening a permalink
Also works for search results Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
5d486478d3
commit
0f698e2021
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