changeset 5110:54de85a17b2b

javascript: remove unnecessary console.log
author Mads Kiilerich <madski@unity3d.com>
date Thu, 07 May 2015 16:26:40 +0200
parents a7b20e31bb36
children 8d45a14d3191
files kallithea/public/js/base.js kallithea/templates/admin/auth/auth_settings.html kallithea/templates/base/perms_summary.html
diffstat 3 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/js/base.js	Thu May 07 16:26:40 2015 +0200
+++ b/kallithea/public/js/base.js	Thu May 07 16:26:40 2015 +0200
@@ -372,7 +372,6 @@
         .fail(function(jqXHR, textStatus, errorThrown) {
                 if (textStatus == "abort")
                     return;
-                console.log('Ajax failure: ' + textStatus);
                 $target.html('<span class="error_red">ERROR: {0}</span>'.format(textStatus));
                 $target.css('opacity','1.0');
             })
@@ -911,7 +910,7 @@
                     }
                 })
             .fail(function() {
-                    console.log('failed to load');
+                    console.log('fileBrowserListeners initFilter failed to load');
                 })
         ;
     }
--- a/kallithea/templates/admin/auth/auth_settings.html	Thu May 07 16:26:40 2015 +0200
+++ b/kallithea/templates/admin/auth/auth_settings.html	Thu May 07 16:26:40 2015 +0200
@@ -122,7 +122,6 @@
             $cur_button.html(_TM['disabled']);
         }
         else{
-            console.log(elems);
             if(elems.indexOf(plugin_id) == -1){
                 elems.push(plugin_id);
             }
--- a/kallithea/templates/base/perms_summary.html	Thu May 07 16:26:40 2015 +0200
+++ b/kallithea/templates/base/perms_summary.html	Thu May 07 16:26:40 2015 +0200
@@ -99,8 +99,6 @@
     $(document).ready(function(){
         var show_empty = function(section){
             var visible = $('.section_{0} tr.perm_row:visible'.format(section)).length;
-            console.log(visible)
-            console.log($('.section_{0} tr.perm_row:visible'.format(section)))
             if(visible == 0){
                 $('#empty_{0}'.format(section)).show();
             }