Changeset 12723
- Timestamp:
- Aug 24, 2011, 1:17:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/javascript/transmission.js
r12722 r12723 144 144 var tr = this; 145 145 this.remote.loadDaemonPrefs(function(data) { 146 var o = data .arguments;146 var o = data['arguments']; 147 147 Prefs.getClutchPrefs(o); 148 148 tr.updatePrefs(o); … … 153 153 var tr = this; 154 154 this.remote.loadDaemonStats(function(data) { 155 var o = data.arguments; 156 tr.updateStats(o); 155 tr.updateStats(data['arguments']); 157 156 }, async); 158 157 }, … … 161 160 var tr = this; 162 161 this.remote.checkPort(function(data) { 163 var o = data.arguments; 164 tr.updatePortStatus(o); 165 }, async); 162 tr.updatePortStatus(data['arguments']); 163 }, async); 166 164 }, 167 165 … … 504 502 var rows = this._rows; 505 503 506 // find the first selected row 504 // find the first selected row 507 505 for (var i=0, row; row=rows[i]; ++i) 508 506 if (row.isSelected()) … … 636 634 savePrefsClicked: function() 637 635 { 638 639 636 // handle the clutch prefs locally 640 637 var tr = this; … … 687 684 blocklistUpdateClicked: function() { 688 685 var tr = this; 689 tr.remote.updateBlocklist(); 686 tr.remote.updateBlocklist(); 690 687 }, 691 688
Note: See TracChangeset
for help on using the changeset viewer.