|
|
|
@ -88,6 +88,7 @@ var SimpleAutocomplete = function(input, dataLoader, params) |
|
|
|
|
this.emptyText = 'No items found'; |
|
|
|
|
|
|
|
|
|
// Variables
|
|
|
|
|
this.origAutocomplete = input.autocomplete; |
|
|
|
|
this.isMoreClick = false; |
|
|
|
|
this.more = 0; |
|
|
|
|
this.timer = null; |
|
|
|
@ -345,7 +346,7 @@ SimpleAutocomplete.prototype.hide = function() |
|
|
|
|
if (!this.skipHideCounter) |
|
|
|
|
{ |
|
|
|
|
this.hintLayer.style.display = 'none'; |
|
|
|
|
this.input.autocomplete = 'on'; |
|
|
|
|
this.input.autocomplete = this.origAutocomplete; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
this.skipHideCounter = 0; |
|
|
|
@ -530,7 +531,7 @@ SimpleAutocomplete.prototype.onInputFocus = function() |
|
|
|
|
SimpleAutocomplete.prototype.onInputBlur = function() |
|
|
|
|
{ |
|
|
|
|
this.hide(); |
|
|
|
|
this.input.autocomplete = 'on'; |
|
|
|
|
this.input.autocomplete = this.origAutocomplete; |
|
|
|
|
this.hasFocus = false; |
|
|
|
|
return true; |
|
|
|
|
}; |
|
|
|
|