mirror of
https://github.com/transmission/transmission.git
synced 2026-04-29 21:22:01 +01:00
(trunk web) remote shouldn't know the internals of transmission
This commit is contained in:
@@ -113,12 +113,21 @@ Transmission.prototype =
|
||||
|
||||
// Get preferences & torrents from the daemon
|
||||
var tr = this;
|
||||
this.remote.loadDaemonPrefs( );
|
||||
this.loadDaemonPrefs( );
|
||||
this.initalizeAllTorrents();
|
||||
|
||||
this.togglePeriodicRefresh( true );
|
||||
},
|
||||
|
||||
loadDaemonPrefs: function(){
|
||||
var tr = this;
|
||||
this.remote.loadDaemonPrefs( function(data){
|
||||
var o = data.arguments;
|
||||
Prefs.getClutchPrefs( o );
|
||||
tr.updatePrefs( o );
|
||||
});
|
||||
},
|
||||
|
||||
preloadImages: function() {
|
||||
if (iPhone) {
|
||||
this.loadImages(
|
||||
|
||||
Reference in New Issue
Block a user