mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 03:36:16 +00:00
display the torrents menu on the rowcontextmenu event
This commit is contained in:
parent
61d028a8ce
commit
95ac4397a3
@ -120,5 +120,13 @@ Deluge.Torrents.Grid = new Ext.grid.GridPanel({
|
||||
autoExpandColumn: 'name',
|
||||
deferredRender:false,
|
||||
autoScroll:true,
|
||||
margins: '5 5 0 0'
|
||||
margins: '5 5 0 0',
|
||||
listeners: {
|
||||
'rowcontextmenu': {
|
||||
fn: function(grid, rowIndex, e) {
|
||||
e.stopEvent();
|
||||
Deluge.Menus.Torrent.showAt(e.getPoint());
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user