]> granicus.if.org Git - transmission/commitdiff
(trunk, web) #5119 'Error when displaying tracker list' -- fixed.
authorJordan Lee <jordan@transmissionbt.com>
Sun, 11 Nov 2012 15:13:47 +0000 (15:13 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sun, 11 Nov 2012 15:13:47 +0000 (15:13 +0000)
web/javascript/inspector.js

index be4b5cae840640ee11c3306b30e0a6972b92ce2f..abdb7245e84633f89a5245b013381597f36b29d3 100644 (file)
@@ -729,7 +729,7 @@ function Inspector(controller) {
                 lastScrapeStatusHash = lastScrapeStatus(tracker);
                 parity = (j%2) ? 'odd' : 'even';
                 html.push('<li class="inspector_tracker_entry ', parity, '"><div class="tracker_host" title="', sanitizeText(tracker.announce), '">',
-                      sanitizeText(tracker.host), '</div>',
+                      sanitizeText(tracker.host || tracker.announce), '</div>',
                       '<div class="tracker_activity">',
                       '<div>', lastAnnounceStatusHash['label'], ': ', lastAnnounceStatusHash['value'], '</div>',
                       '<div>', announceState, '</div>',