From 92a46c34c7d66415ab2bcd7a03dcc42fc6391af4 Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Sat, 20 Dec 2014 15:23:12 +0100 Subject: Remove unnecessary logging --- view/js/autocomplete.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'view/js') diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 87f854d3f..31d693c7b 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -4,7 +4,6 @@ * require jQuery, jquery.textcomplete */ function mysearch(term, callback, backend_url) { - console.log("Searching for: "+term); var postdata = { start:0, count:100, @@ -39,12 +38,11 @@ function replace(item) { (function( $ ){ $.fn.contact_autocomplete = function(backend_url) { - console.log('autocomplete using '+backend_url); // Autocomplete contacts contacts = { match: /(^|\s)(@!?)(\w{2,})$/, 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, template: format, } -- cgit v1.2.3