summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/sharebreadcrumbview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/sharebreadcrumbview.js')
-rw-r--r--apps/files_sharing/src/sharebreadcrumbview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/src/sharebreadcrumbview.js b/apps/files_sharing/src/sharebreadcrumbview.js
index 5c310501649..d3b56ff853a 100644
--- a/apps/files_sharing/src/sharebreadcrumbview.js
+++ b/apps/files_sharing/src/sharebreadcrumbview.js
@@ -67,8 +67,8 @@
})
var path = fileInfoModel.attributes.path + '/' + fileInfoModel.attributes.name
- OCA.Files.Sidebar.file = path
- OCA.Files.Sidebar.activeTab = 'sharing'
+ OCA.Files.Sidebar.open(path)
+ OCA.Files.Sidebar.setActiveTab('sharing')
}
})