mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:55:14 +00:00
Disable browser-based autocomplete when using the textcomplete based one
This commit is contained in:
parent
f157122c35
commit
9f8ce331f3
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue