summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-05-19 14:47:13 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-05-19 14:47:13 +0200
commit581227324a8510688c40e9effc8b2fe6a355eba1 (patch)
tree9c06af94ee2e093590ac5c049b1ad17148fba5b7 /apps/files
parent12aef311154f12050c4e33492dac1fb1c928060d (diff)
downloadnextcloud-server-581227324a8510688c40e9effc8b2fe6a355eba1.tar.gz
nextcloud-server-581227324a8510688c40e9effc8b2fe6a355eba1.zip
Closes "New" dropdown when switching category
* fixes #16394 * return false - stops all following event callbacks
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();
}
};