mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 03:09:13 +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) {
|
onGetConfigSuccess: function(config) {
|
||||||
|
this.default_config = config;
|
||||||
|
this.setFormToDefault();
|
||||||
|
},
|
||||||
|
|
||||||
|
setFormToDefault: function() {
|
||||||
this.form.add_paused.checked = config['add_paused'];
|
this.form.add_paused.checked = config['add_paused'];
|
||||||
$each(this.form.compact_allocation, function(el) {
|
$each(this.form.compact_allocation, function(el) {
|
||||||
if (el.value == config['compact_allocation'].toString()) {
|
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_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_connections_per_torrent).setValue(config['max_connections_per_torrent']);
|
||||||
$$W(this.form.max_upload_slots_per_torrent).setValue(config['max_upload_slots_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