mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
display the torrents menu on the rowcontextmenu event
This commit is contained in:
parent
61d028a8ce
commit
95ac4397a3
1 changed files with 9 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue