[2374][WebUI] Fix right-click selection issue

This commit is contained in:
Calum Lind 2014-02-17 22:59:10 +00:00
parent f415fa1a7e
commit 32d5a0bab2

View File

@ -353,7 +353,7 @@
this.on('rowcontextmenu', function(grid, rowIndex, e) {
e.stopEvent();
var selection = grid.getSelectionModel();
if (!selection.hasSelection()) {
if (!selection.isSelected(rowIndex)) {
selection.selectRow(rowIndex);
}
deluge.menus.torrent.showAt(e.getPoint());