Commit ec2819c2 authored by catch's avatar catch

Issue #2665738 by droplet, zviryatko: jQuery Autocomplete applies...

Issue #2665738 by droplet, zviryatko: jQuery Autocomplete applies "_renderItem" option only for first element on the page
parent 221ab60f
......@@ -222,8 +222,9 @@
});
// Use jQuery UI Autocomplete on the textfield.
$autocomplete.autocomplete(autocomplete.options)
.data('ui-autocomplete')
._renderItem = autocomplete.options.renderItem;
.each(function() {
$(this).data('ui-autocomplete')._renderItem = autocomplete.options.renderItem;
});
}
},
detach: function (context, settings, trigger) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment