Disable browser-based autocomplete when using the textcomplete based one
This commit is contained in:
parent
f157122c35
commit
9f8ce331f3
@ -66,6 +66,7 @@ function basic_replace(item) {
|
|||||||
template: function(item) { return item['icon'] + item['text'] },
|
template: function(item) { return item['icon'] + item['text'] },
|
||||||
replace: function(item) { return "$1"+item['text'] + ' '; },
|
replace: function(item) { return "$1"+item['text'] + ' '; },
|
||||||
}
|
}
|
||||||
|
this.attr('autocomplete','off');
|
||||||
this.textcomplete([contacts,smilies],{className:'acpopup'});
|
this.textcomplete([contacts,smilies],{className:'acpopup'});
|
||||||
};
|
};
|
||||||
})( jQuery );
|
})( jQuery );
|
||||||
@ -84,6 +85,7 @@ function basic_replace(item) {
|
|||||||
replace: basic_replace,
|
replace: basic_replace,
|
||||||
template: contact_format,
|
template: contact_format,
|
||||||
}
|
}
|
||||||
|
this.attr('autocomplete','off');
|
||||||
this.textcomplete([contacts],{className:'acpopup'});
|
this.textcomplete([contacts],{className:'acpopup'});
|
||||||
};
|
};
|
||||||
})( jQuery );
|
})( jQuery );
|
||||||
@ -100,6 +102,7 @@ function basic_replace(item) {
|
|||||||
template: contact_format,
|
template: contact_format,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.attr('autocomplete','off');
|
||||||
var a = this.textcomplete([contacts],{className:'acpopup'});
|
var a = this.textcomplete([contacts],{className:'acpopup'});
|
||||||
|
|
||||||
if(typeof onselect !== 'undefined')
|
if(typeof onselect !== 'undefined')
|
||||||
|
Reference in New Issue
Block a user