aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-05-20 11:15:21 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-05-20 11:15:21 +0200
commit0d78ebf6cdc0b54c7ca4307af9270c8bec681ed0 (patch)
tree40e351d8920ef6845863ffa3a7af7c52233f42e1 /apps/files
parent1e59be2d2d8ee702d0a1fcf23e7c8264fcd11eae (diff)
parent581227324a8510688c40e9effc8b2fe6a355eba1 (diff)
downloadnextcloud-server-0d78ebf6cdc0b54c7ca4307af9270c8bec681ed0.tar.gz
nextcloud-server-0d78ebf6cdc0b54c7ca4307af9270c8bec681ed0.zip
Merge pull request #16444 from owncloud/close-new-dropdown
Closes "New" dropdown when switching category
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/navigation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js
index be385f21f50..83cd556c89a 100644
--- a/apps/files/js/navigation.js
+++ b/apps/files/js/navigation.js
@@ -124,7 +124,7 @@
var $target = $(ev.target);
var itemId = $target.closest('li').attr('data-id');
this.setActiveItem(itemId);
- return false;
+ ev.preventDefault();
}
};