Commit 930eff1b authored by Ryan Herbert's avatar Ryan Herbert

database.js ensure field values are cleared

parent 273a4147
......@@ -504,6 +504,10 @@ Database.prototype = {
var disable = !elem.prop('disabled');
elem.prop('disabled', disable);
elem.parents("tr").prop('hidden', disable);
if (disable) {
elem.val(undefined);
$('#filename').val(undefined);
}
var pre_process = $('#pre_process');
pre_process.prop('disabled', disable);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment