diff --git a/coinmanager/coinc/static/coinc/main.js b/coinmanager/coinc/static/coinc/main.js index 5d4da5f..2bce27b 100644 --- a/coinmanager/coinc/static/coinc/main.js +++ b/coinmanager/coinc/static/coinc/main.js @@ -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 {