Stop autocomplete selection event propogration so share dropdown doesn't disappear, fixes bug oc-1773

This commit is contained in:
Michael Gapczynski 2012-09-25 23:18:36 -04:00
parent 5855355faa
commit 2bdf89f4d4
1 changed files with 1 additions and 0 deletions

View File

@ -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;