mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
BUGFIX: Fix Scan directory preferences in Web UI
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- BUGFIX: Added support for HTTP redirection
|
- BUGFIX: Added support for HTTP redirection
|
||||||
- BUGFIX: Fix compilation error when geoip database is embedded
|
- BUGFIX: Fix compilation error when geoip database is embedded
|
||||||
- BUGFIX: Fix crash when double-clicking on a torrent that has no metadata to open its save path
|
- BUGFIX: Fix crash when double-clicking on a torrent that has no metadata to open its save path
|
||||||
|
- BUGFIX: Fix Scan directory preferences in Web UI
|
||||||
|
|
||||||
* Sun Jan 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.2
|
* Sun Jan 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.2
|
||||||
- FEATURE: Added back file prioritizing in a torrent
|
- FEATURE: Added back file prioritizing in a torrent
|
||||||
|
|||||||
@@ -775,8 +775,10 @@ loadPreferences = function() {
|
|||||||
var scan_dir_enabled = pref.scan_dir_enabled;
|
var scan_dir_enabled = pref.scan_dir_enabled;
|
||||||
if(scan_dir_enabled) {
|
if(scan_dir_enabled) {
|
||||||
$('scandir_text').set('value', pref.scan_dir);
|
$('scandir_text').set('value', pref.scan_dir);
|
||||||
|
$('scandir_checkbox').set('checked', 'checked');
|
||||||
} else {
|
} else {
|
||||||
$('scandir_text').set('value', '');
|
$('scandir_text').set('value', '');
|
||||||
|
$('scandir_checkbox').removeProperty('checked');
|
||||||
}
|
}
|
||||||
updateScanDirEnabled();
|
updateScanDirEnabled();
|
||||||
if(pref.preallocate_all) {
|
if(pref.preallocate_all) {
|
||||||
@@ -873,4 +875,4 @@ loadPreferences = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
loadPreferences();
|
loadPreferences();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user