diff --git a/deluge/ui/web/js/deluge-bars.js b/deluge/ui/web/js/deluge-bars.js index a79ff14b7..fc1a8f4a0 100644 --- a/deluge/ui/web/js/deluge-bars.js +++ b/deluge/ui/web/js/deluge-bars.js @@ -31,7 +31,7 @@ Deluge.ToolBar = { }, onTorrentAction: function(item) { - var selection = Deluge.Torrents.getSelectionModel().getSelections(); + var selection = Deluge.Torrents.getSelections(); var ids = new Array(); $each(selection, function(record) { ids.include(record.id);