[fix] Hide results after uploading

This commit is contained in:
Wu Han 2021-01-10 01:27:42 +00:00
parent f6d2330379
commit 695210f134
1 changed files with 8 additions and 0 deletions

View File

@ -149,6 +149,7 @@ $( document ).ready( () => {
$("#btnSubmit").click((event) => { $("#btnSubmit").click((event) => {
// stop submit the form, we will post it manually. // stop submit the form, we will post it manually.
event.preventDefault(); event.preventDefault();
// Hide submit
$('#ulysses16_submit').hide(); $('#ulysses16_submit').hide();
$('#att48_submit').hide(); $('#att48_submit').hide();
$('#st70_submit').hide(); $('#st70_submit').hide();
@ -157,6 +158,13 @@ $( document ).ready( () => {
$('#dsj1000_submit').hide(); $('#dsj1000_submit').hide();
$("#submit_name").val(''); $("#submit_name").val('');
$("#submit_desc").val(''); $("#submit_desc").val('');
// Hide Download
$('#ulysses16_download').hide();
$('#att48_download').hide();
$('#st70_download').hide();
$('#a280_download').hide();
$('#pcb442_download').hide();
$('#dsj1000_download').hide();
doAjax(); doAjax();
}); });
}) })