From 9f8ce331f3661463573dac9d1bd0bf68eb15a322 Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Wed, 7 Jan 2015 20:29:38 +0100 Subject: Disable browser-based autocomplete when using the textcomplete based one --- view/js/autocomplete.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/js/autocomplete.js') diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 8966c675d..66d8cf90c 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -66,6 +66,7 @@ function basic_replace(item) { template: function(item) { return item['icon'] + item['text'] }, replace: function(item) { return "$1"+item['text'] + ' '; }, } + this.attr('autocomplete','off'); this.textcomplete([contacts,smilies],{className:'acpopup'}); }; })( jQuery ); @@ -84,6 +85,7 @@ function basic_replace(item) { replace: basic_replace, template: contact_format, } + this.attr('autocomplete','off'); this.textcomplete([contacts],{className:'acpopup'}); }; })( jQuery ); @@ -100,6 +102,7 @@ function basic_replace(item) { template: contact_format, } + this.attr('autocomplete','off'); var a = this.textcomplete([contacts],{className:'acpopup'}); if(typeof onselect !== 'undefined') -- cgit v1.2.3