]> granicus.if.org Git - transmission/commitdiff
(trunk web) fix selecting files
authorMitchell Livingston <livings124@transmissionbt.com>
Sat, 27 Aug 2011 21:42:34 +0000 (21:42 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sat, 27 Aug 2011 21:42:34 +0000 (21:42 +0000)
web/javascript/transmission.js

index 14230dbe8ffbbb8dc3fe76672c020cc4c38694d6..82c9c525f9556b2ea52fd64ed2e0999227a634c2 100644 (file)
@@ -1053,7 +1053,7 @@ Transmission.prototype =
        
                // if this torrent is in the inspector, refresh the inspector
                if (this[Prefs._ShowInspector])
-                       if (this.getSelectedTorrentIds().indexOf(ev.target.getId()) !== -1)
+                       if (this.getSelectedTorrentIds().indexOf(id) !== -1)
                                this.updateInspector();
        },