Changeset - 54de85a17b2b
[Not reviewed]
default
0 3 0
Mads Kiilerich - 11 years ago 2015-05-07 16:26:40
madski@unity3d.com
javascript: remove unnecessary console.log
3 files changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
kallithea/public/js/base.js
Show inline comments
 
@@ -372,7 +372,6 @@ function asynchtml(url, $target, success
 
        .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 @@ var fileBrowserListeners = function(curr
 
                    }
 
                })
 
            .fail(function() {
 
                    console.log('failed to load');
 
                    console.log('fileBrowserListeners initFilter failed to load');
 
                })
 
        ;
 
    }
kallithea/templates/admin/auth/auth_settings.html
Show inline comments
 
@@ -122,7 +122,6 @@
 
            $cur_button.html(_TM['disabled']);
 
        }
 
        else{
 
            console.log(elems);
 
            if(elems.indexOf(plugin_id) == -1){
 
                elems.push(plugin_id);
 
            }
kallithea/templates/base/perms_summary.html
Show inline comments
 
@@ -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();
 
            }
0 comments (0 inline, 0 general)