From ca551aaf8e207e1e9836c8240190c6c8bba6b425 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 5 Mar 2013 15:31:23 +0000 Subject: [PATCH] Update SimpleAutocomplete, VMXTemplate, DatabaseMysql --- hinter.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hinter.js b/hinter.js index 9b1ca74..a6c4bc0 100644 --- a/hinter.js +++ b/hinter.js @@ -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; };