mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
add mime icons to the white theme
couple of stubs in the add window
This commit is contained in:
parent
64d94eb95f
commit
0d7cf1af81
3 changed files with 9 additions and 0 deletions
|
@ -359,6 +359,11 @@ Deluge.Widgets.AddTorrent.OptionsTab = new Class({
|
|||
},
|
||||
|
||||
onGetConfigSuccess: function(config) {
|
||||
this.default_config = config;
|
||||
this.setFormToDefault();
|
||||
},
|
||||
|
||||
setFormToDefault: function() {
|
||||
this.form.add_paused.checked = config['add_paused'];
|
||||
$each(this.form.compact_allocation, function(el) {
|
||||
if (el.value == config['compact_allocation'].toString()) {
|
||||
|
@ -372,6 +377,10 @@ Deluge.Widgets.AddTorrent.OptionsTab = new Class({
|
|||
$$W(this.form.max_upload_speed_per_torrent).setValue(config['max_upload_speed_per_torrent']);
|
||||
$$W(this.form.max_connections_per_torrent).setValue(config['max_connections_per_torrent']);
|
||||
$$W(this.form.max_upload_slots_per_torrent).setValue(config['max_upload_slots_per_torrent']);
|
||||
},
|
||||
|
||||
setTorrent: function(torrent) {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 693 B |
Binary file not shown.
After Width: | Height: | Size: 655 B |
Loading…
Add table
Reference in a new issue