From 7a2bca4459ff0219d15b6e2428b7e9871ab66f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Pu=C5=A1nik?= Date: Mon, 9 Nov 2015 11:21:13 +0100 Subject: clean up --- js/codeq/navigation.js | 3 +-- js/codeq/profile.js | 2 -- js/codeq/signup.js | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'js') diff --git a/js/codeq/navigation.js b/js/codeq/navigation.js index 7fc3697..4baf5b9 100644 --- a/js/codeq/navigation.js +++ b/js/codeq/navigation.js @@ -110,11 +110,10 @@ codeq.comms.logout() .then(function (data) { - console.log(data); codeq.comms.disconnect(); }) .fail(function (reason) { - console.log(reason); + codeq.log.error('Logout failed: ' + reason); }) .done(); diff --git a/js/codeq/profile.js b/js/codeq/profile.js index f666697..cc1cd28 100644 --- a/js/codeq/profile.js +++ b/js/codeq/profile.js @@ -30,8 +30,6 @@ items='', tr_gui = codeq.tr.getDictionary('gui'); - console.log(tr_gui); - $.each(columns, function( key, val ) { items+=''+tr_gui[val][codeq.settings['gui_lang']]+''; }); diff --git a/js/codeq/signup.js b/js/codeq/signup.js index 443b500..ad666a0 100644 --- a/js/codeq/signup.js +++ b/js/codeq/signup.js @@ -27,7 +27,6 @@ //prepare listener for successfull signup jqFormSignUp.on('submit',function(event) { - console.log($(this).serialize()); if (jqPassword.val() != jqVerify.val()) { alert('Passwords do not match.'); } -- cgit v1.2.1