aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntryGrid.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2024-05-29 18:53:53 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2024-06-12 11:52:22 +0000
commita094ac0b6d61a8aefa92517549c615dfc43430a2 (patch)
tree103e4c84f7822de5f3ac3bdad254f191aef97a72 /apps/files/src/components/FileEntryGrid.vue
parent4c32ab7b729b7bb8e2a59eb4f8a0b3c657e0f2a1 (diff)
downloadnextcloud-server-a094ac0b6d61a8aefa92517549c615dfc43430a2.tar.gz
nextcloud-server-a094ac0b6d61a8aefa92517549c615dfc43430a2.zip
fix(files): also trigger new tab on file name middle click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files/src/components/FileEntryGrid.vue')
-rw-r--r--apps/files/src/components/FileEntryGrid.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntryGrid.vue b/apps/files/src/components/FileEntryGrid.vue
index 26fca69911e..8238c1a53d1 100644
--- a/apps/files/src/components/FileEntryGrid.vue
+++ b/apps/files/src/components/FileEntryGrid.vue
@@ -32,6 +32,7 @@
:dragover="dragover"
:grid-mode="true"
:source="source"
+ @auxclick.native="execDefaultAction"
@click.native="execDefaultAction" />
<FileEntryName ref="name"
@@ -41,7 +42,8 @@
:grid-mode="true"
:nodes="nodes"
:source="source"
- @click="execDefaultAction" />
+ @auxclick.native="execDefaultAction"
+ @click.native="execDefaultAction" />
</td>
<!-- Actions -->