From f2f0dc186180bb0a55e52ad57c39a32ae80c449b Mon Sep 17 00:00:00 2001
From: Mitchell Livingston <livings124@transmissionbt.com>
Date: Sat, 27 Aug 2011 21:42:34 +0000
Subject: [PATCH] (trunk web) fix selecting files

---
 web/javascript/transmission.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/javascript/transmission.js b/web/javascript/transmission.js
index 14230dbe8..82c9c525f 100644
--- a/web/javascript/transmission.js
+++ b/web/javascript/transmission.js
@@ -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();
 	},