2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-22 12:55:12 +00:00

Merge branch 'develop'

This commit is contained in:
Tomas Kirda 2014-04-13 12:27:25 -05:00
commit 52ad3d9c01

View File

@ -760,7 +760,11 @@
suggestion = that.suggestions[index]; suggestion = that.suggestions[index];
that.currentValue = that.getValue(suggestion.value); that.currentValue = that.getValue(suggestion.value);
if (that.currentValue !== that.el.val()) {
that.el.val(that.currentValue); that.el.val(that.currentValue);
}
that.signalHint(null); that.signalHint(null);
that.suggestions = []; that.suggestions = [];
that.selection = suggestion; that.selection = suggestion;