Merge pull request #1232 from sir-pinecone/fix-group-member-removal
Fix for autocomplete delete action removing only the last item
This commit is contained in:
commit
0ad93e436c
|
@ -64,7 +64,7 @@ $.fn.autocomplete = function(options) {
|
|||
|
||||
d.find('a').click(function() {
|
||||
closeAutocomplete();
|
||||
inputSelectedItems.splice($.inArray(item), 1);
|
||||
inputSelectedItems.splice($.inArray(item, inputSelectedItems), 1);
|
||||
$(this).parent().parent().remove();
|
||||
if (options.single) {
|
||||
me.show();
|
||||
|
|
Loading…
Reference in New Issue