Merge pull request #3220 from nextcloud/direct-link-open-sidebar

open the sidebar when opening a permalink
This commit is contained in:
Morris Jobke 2017-01-23 12:57:52 -06:00 committed by GitHub
commit 30c32e0b16

View file

@ -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() {