BUGFIX: Fix Scan directory preferences in Web UI

This commit is contained in:
Christophe Dumez
2010-01-31 13:50:18 +00:00
parent 296267ec20
commit 508a811a8a
2 changed files with 4 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
- BUGFIX: Added support for HTTP redirection
- 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 Scan directory preferences in Web UI
* Sun Jan 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.2
- FEATURE: Added back file prioritizing in a torrent

View File

@@ -775,8 +775,10 @@ loadPreferences = function() {
var scan_dir_enabled = pref.scan_dir_enabled;
if(scan_dir_enabled) {
$('scandir_text').set('value', pref.scan_dir);
$('scandir_checkbox').set('checked', 'checked');
} else {
$('scandir_text').set('value', '');
$('scandir_checkbox').removeProperty('checked');
}
updateScanDirEnabled();
if(pref.preallocate_all) {
@@ -873,4 +875,4 @@ loadPreferences = function() {
}
loadPreferences();
</script>
</script>