1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-21 21:57:01 +00:00

(trunk web) #4442 "WebUI doesn't update after performing 'Remove From List' - r12723" -- fixed.

This commit is contained in:
Jordan Lee 2011-08-24 17:04:59 +00:00
parent 9ae9c2e56e
commit 296a2064f7

View file

@ -934,9 +934,9 @@ Transmission.prototype =
$(key).deselectMenuSiblings().selectMenuItem(); $(key).deselectMenuSiblings().selectMenuItem();
} }
this[Prefs._TurtleState] = prefs[RPC._TurtleState]; this[Prefs._TurtleState] = p[RPC._TurtleState];
this.updateTurtleButton(); this.updateTurtleButton();
this.setCompactMode(prefs[Prefs._CompactDisplayState]); this.setCompactMode(p[Prefs._CompactDisplayState]);
}, },
updatePortStatus: function(status) { updatePortStatus: function(status) {
@ -1660,7 +1660,7 @@ Transmission.prototype =
{ {
if (torrent_ids && torrent_ids.length) if (torrent_ids && torrent_ids.length)
{ {
for (var i=0, id; i=torrent_ids[i]; ++i) for (var i=0, id; id=torrent_ids[i]; ++i)
delete this._torrents[id]; delete this._torrents[id];
this.refilter(); this.refilter();
} }