(trunk web) #2411: double-clicking torrent should open/close inspector
This commit is contained in:
parent
900c6d6717
commit
542b60b92e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue