aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-05-26 16:51:57 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-05-26 16:51:57 +0200
commite1492d9e0bcac1217102282e4b9742207b3325d7 (patch)
treef42e248284992fa84f086db77e20267243a46929
parenta3b53a7738290d76126ebffca98fa2a2db93aaa9 (diff)
parentd24d30f96be07823b92eea144a147d7bbb3ffb81 (diff)
downloadnextcloud-server-e1492d9e0bcac1217102282e4b9742207b3325d7.tar.gz
nextcloud-server-e1492d9e0bcac1217102282e4b9742207b3325d7.zip
Merge pull request #16462 from owncloud/stable8-backport-16444
[stable8] Closes "New" dropdown when switching category
-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();
}
};