mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
(trunk web) fix queue reordering
This commit is contained in:
parent
dd8c7f5030
commit
71750426ae
1 changed files with 8 additions and 8 deletions
|
@ -1866,23 +1866,23 @@ Transmission.prototype =
|
|||
// Queue
|
||||
moveTop: function() {
|
||||
var tr = this;
|
||||
var ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsToTop(torrent_ids, function() { tr.refreshTorrents(ids);});
|
||||
var torrent_ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsToTop(torrent_ids, function() { tr.refreshTorrents(torrent_ids);});
|
||||
},
|
||||
moveUp: function() {
|
||||
var tr = this;
|
||||
var ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsUp(torrent_ids, function() { tr.refreshTorrents(ids);});
|
||||
var torrent_ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsUp(torrent_ids, function() { tr.refreshTorrents(torrent_ids);});
|
||||
},
|
||||
moveDown: function() {
|
||||
var tr = this;
|
||||
var ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsDown(torrent_ids, function() { tr.refreshTorrents(ids);});
|
||||
var torrent_ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsDown(torrent_ids, function() { tr.refreshTorrents(torrent_ids);});
|
||||
},
|
||||
moveBottom: function() {
|
||||
var tr = this;
|
||||
var ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsToBottom(torrent_ids, function() { tr.refreshTorrents(ids);});
|
||||
var torrent_ids = this.getSelectedTorrentIds();
|
||||
this.remote.moveTorrentsToBottom(torrent_ids, function() { tr.refreshTorrents(torrent_ids);});
|
||||
},
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue