(trunk web) #2411: double-clicking torrent should open/close inspector

This commit is contained in:
Charles Kerr 2009-09-14 22:33:17 +00:00
parent 900c6d6717
commit 542b60b92e
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ Torrent.prototype =
top_e.id = 'torrent_' + data.id; top_e.id = 'torrent_' + data.id;
top_e._torrent = this; top_e._torrent = this;
var element = $(top_e); var element = $(top_e);
$(element).bind('dblclick', function(e) { transmission.toggleInspector(); });
element._torrent = this; element._torrent = this;
this._element = element; this._element = element;
this._controller = controller; this._controller = controller;