#30: if !#found: checked, ec should be deactivated
This commit is contained in:
parent
c9f5e19281
commit
c452728cbb
@ -99,14 +99,18 @@ function render_found() {
|
||||
found_on = get_datetime();
|
||||
}
|
||||
$('#found_on').val(found_on);
|
||||
$('#checked').prop('checked', settings['checked']);
|
||||
$('#ec').prop('checked', settings['ec']);
|
||||
|
||||
} else {
|
||||
save_settings();
|
||||
$('#found_by option[selected=selected]').html('');
|
||||
$('#found_on').val('');
|
||||
$('#checked, #ec').each(function() {
|
||||
$(this).prop('checked', false); });
|
||||
}
|
||||
|
||||
$('#found_by, #found_on').each(function() {
|
||||
$('#found_by, #found_on, #checked, #ec').each(function() {
|
||||
if (checked === true) {
|
||||
$(this).prop('disabled', '');
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user