From 6fe61cc8b311c4b5fa04ecca26e5b31cc178d0bb Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Tue, 27 Jul 2021 10:31:37 +0200 Subject: [PATCH] fix comments file action sidebar opening Signed-off-by: Julien Veyssier Signed-off-by: npmbuildbot-nextcloud[bot] --- apps/comments/src/filesplugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/comments/src/filesplugin.js b/apps/comments/src/filesplugin.js index b8a22612c62..6feb3ddd043 100644 --- a/apps/comments/src/filesplugin.js +++ b/apps/comments/src/filesplugin.js @@ -119,7 +119,7 @@ context.$file.find('.action-comment').tooltip('hide') // open sidebar in comments section OCA.Files.Sidebar.setActiveTab('comments') - OCA.Files.Sidebar.open('/' + fileName) + OCA.Files.Sidebar.open(context.dir + '/' + fileName) }, })