Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2021-07-27 11:31:37 +0300
committernpmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>2021-07-27 11:50:04 +0300
commit5914c5e59c00291ecba10b17927627826294ad5e (patch)
tree9d49af6bdbec31cad0d4406c40da840b716382d4 /apps/comments/src
parent39931cab94512fb3f9eece0f03f66fc1b88a933b (diff)
fix comments file action sidebar opening
Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/comments/src')
-rw-r--r--apps/comments/src/filesplugin.js2
1 files changed, 1 insertions, 1 deletions
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)
},
})