1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-14 16:57:55 +00:00

Fix "Copy torrents to" setting saving in Web UI

This commit is contained in:
Christophe Dumez 2011-08-13 11:22:28 +03:00
parent e838b515b3
commit 2e07e911e4

View File

@ -894,8 +894,10 @@ applyPreferences = function() {
settings.set('scan_dirs', watched_folders[0]);
settings.set('download_in_scan_dirs', watched_folders[1]);
settings.set('exportdir_enabled', $('exportdir_checkbox').getProperty('checked'));
settings.set('exportdir_path', $('exportdir_text').getProperty('value'));
if($('exportdir_checkbox').getProperty('checked'))
settings.set('export_dir', $('exportdir_text').getProperty('value'));
else
settings.set('export_dir', '');
settings.set('preallocate_all', $('preallocateall_checkbox').getProperty('checked'));
if(!$('appendexttr').hasClass('invisible')) {
settings.set('incomplete_files_ext', $('appendext_checkbox').getProperty('checked'));