summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-09-25 23:18:36 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-09-25 23:18:36 -0400
commit2bdf89f4d4d754c4cb4e1498b977085a67269460 (patch)
tree860f1e3a5685829d711d3d9114c0c247eb37399a /core/js
parent5855355faac7926c6b79a61b2706b555e21f3543 (diff)
downloadnextcloud-server-2bdf89f4d4d754c4cb4e1498b977085a67269460.tar.gz
nextcloud-server-2bdf89f4d4d754c4cb4e1498b977085a67269460.zip
Stop autocomplete selection event propogration so share dropdown doesn't disappear, fixes bug oc-1773
Diffstat (limited to 'core/js')
-rw-r--r--core/js/share.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js
index c105a27dc0e..edd9142c381 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -191,6 +191,7 @@ OC.Share={
event.preventDefault();
},
select: function(event, selected) {
+ event.stopPropagation();
var itemType = $('#dropdown').data('item-type');
var itemSource = $('#dropdown').data('item-source');
var shareType = selected.item.value.shareType;