mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
add mime icons to the white theme
couple of stubs in the add window
This commit is contained in:
parent
c406ab4eaf
commit
366b5e1f95
@ -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…
x
Reference in New Issue
Block a user