(web) Improve upon r10773 fix for #3296

This commit is contained in:
Daniel Lee
2010-06-18 13:53:54 +00:00
parent 3a8809e38f
commit dbcd1c942f
2 changed files with 11 additions and 5 deletions

View File

@@ -88,8 +88,9 @@ Torrent.prototype =
top_e.id = 'torrent_' + data.id;
top_e._torrent = this;
var element = $(top_e);
$(element).bind('dblclick', function(e) { transmission.toggleInspector(); });
$(element).bind('dblclick', function(e) { transmission.toggleInspector(); });
element._torrent = this;
element._id = this._id;
this._element = element;
this._controller = controller;
controller._rows.push( element );