Remove unnecessary logging
This commit is contained in:
parent
c78fb89f62
commit
92a46c34c7
@ -4,7 +4,6 @@
|
|||||||
* require jQuery, jquery.textcomplete
|
* require jQuery, jquery.textcomplete
|
||||||
*/
|
*/
|
||||||
function mysearch(term, callback, backend_url) {
|
function mysearch(term, callback, backend_url) {
|
||||||
console.log("Searching for: "+term);
|
|
||||||
var postdata = {
|
var postdata = {
|
||||||
start:0,
|
start:0,
|
||||||
count:100,
|
count:100,
|
||||||
@ -39,12 +38,11 @@ function replace(item) {
|
|||||||
(function( $ ){
|
(function( $ ){
|
||||||
$.fn.contact_autocomplete = function(backend_url) {
|
$.fn.contact_autocomplete = function(backend_url) {
|
||||||
|
|
||||||
console.log('autocomplete using '+backend_url);
|
|
||||||
// Autocomplete contacts
|
// Autocomplete contacts
|
||||||
contacts = {
|
contacts = {
|
||||||
match: /(^|\s)(@!?)(\w{2,})$/,
|
match: /(^|\s)(@!?)(\w{2,})$/,
|
||||||
index: 3,
|
index: 3,
|
||||||
search: function(term, callback) { console.log("serching for:"+term); mysearch(term, callback, backend_url); },
|
search: function(term, callback) { mysearch(term, callback, backend_url); },
|
||||||
replace: replace,
|
replace: replace,
|
||||||
template: format,
|
template: format,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user