Make mod_poke use textcomplete
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
$(document).ready(function() {
|
||||
var a;
|
||||
a = $("#poke-recip").autocomplete({
|
||||
serviceUrl: baseurl + '/acl',
|
||||
minChars: 2,
|
||||
width: 250,
|
||||
id: 'poke-recip-ac',
|
||||
onSelect: function(value,data) {
|
||||
$("#poke-recip-complete").val(data);
|
||||
}
|
||||
$("#poke-recip").contact_autocomplete(baseurl + '/acl', function(data) {
|
||||
$("#poke-recip-complete").val(data.id);
|
||||
});
|
||||
a.setOptions({ params: { type: 'a' }});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user