diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-03-24 22:05:02 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-24 22:05:02 +0100 |
commit | 2b8ef3aca9dafa8852011fd8ee7fc780e2256243 (patch) | |
tree | f8fa130b70aedb8941e5522035cfc824a45a7bb3 | |
parent | cc2092a511c3d09ac2e0eb0d4bf75a58f6f4366b (diff) | |
download | nextcloud-server-2b8ef3aca9dafa8852011fd8ee7fc780e2256243.tar.gz nextcloud-server-2b8ef3aca9dafa8852011fd8ee7fc780e2256243.zip |
Fix middle click on breadcrumb
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 871c42ead89..f55e73b434b 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -466,11 +466,11 @@ var $el = $(e.target).closest('.crumb'), $targetDir = $el.data('dir'); - if ($targetDir !== undefined) { + if ($targetDir !== undefined && e.which === 1) { e.preventDefault(); this.changeDirectory($targetDir); + this.updateSearch(); } - this.updateSearch(); }, /** |