Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

Commit

Permalink
RF-13305: Autocomplete - always populate suggestions when input is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-plotnikoff authored and Lukas Fryc committed Jan 8, 2014
1 parent 5caad81 commit b3e6d83
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -279,7 +279,7 @@
this.__setInputValue(subValue);
}
if (subValue.length >= this.options.minChars) {
if ((this.options.ajaxMode || this.options.lazyClientMode) && oldValue != subValue) {
if ((this.options.ajaxMode || this.options.lazyClientMode) && (oldValue != subValue || (oldValue === '' && subValue === ''))) {
callAjax.call(this, event, callback);
}
} else {
Expand Down

0 comments on commit b3e6d83

Please sign in to comment.