Changeset 13521


Ignore:
Timestamp:
Sep 23, 2012, 5:08:27 PM (10 years ago)
Author:
jordan
Message:

in updateFilesPage(), fix about a dozen variables that leaked into the global namespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/inspector.js

    r13505 r13521  
    492492
    493493    updateFilesPage = function() {
    494         var i, n, sel, row, tor, fragment,
     494        var i, j, n, sel, row, tor, fragment,
     495            box, complete, conn, connections, e, from, heirarchy, item,
     496                    matches, parents, parentid, path, sum, subheirarchy, to, inner,
    495497            file_list = data.elements.file_list,
    496498            torrents = data.torrents;
     
    618620            $($('.inspector_torrent_file_list_entry_name',$('#'+parentid))[0]).click(function() { $($(this).parent()).children('li').toggle(); })
    619621
    620             sum = 0
     622            sum = 0;
    621623            matches = $('#'+parentid).children('li').text().match(/\([^\.]+\)/g)
    622624            if (matches == null) { continue; }
Note: See TracChangeset for help on using the changeset viewer.