Changeset 6762


Ignore:
Timestamp:
Sep 16, 2008, 4:58:22 PM (13 years ago)
Author:
charles
Message:

(web 1.3x) backport #1232 (r6648): "Useless slash of Inspector's Web UI 'Tracker' field"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3x/web/javascript/transmission.js

    r6755 r6762  
    838838                var total_state = null;
    839839                var total_swarm_speed = 0;
    840                 var total_tracker = '';
     840                var total_tracker = null;
    841841                var total_upload = 0;
    842842                var total_upload_peers = 0;
     
    917917                                total_state += '/' + t.stateStr();
    918918                        var tracker = t._tracker;
    919                         if ( total_tracker.search ( tracker ) == -1 ) 
     919                        if( total_tracker == null )
     920                                total_tracker = tracker;
     921                        else if ( total_tracker.search ( tracker ) == -1 ) 
    920922                                total_tracker += '/' + tracker;
    921923                        if( t._is_private )
Note: See TracChangeset for help on using the changeset viewer.