mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 06:37:32 +08:00
fixed move experiment form error duplication
This commit is contained in:
parent
a5a24c7610
commit
856d226946
1 changed files with 5 additions and 1 deletions
|
@ -63,7 +63,11 @@
|
|||
form.find("#experiment_project_id"),
|
||||
msg.message.toString());
|
||||
})
|
||||
on('submit', function(){
|
||||
.on('submit', function(){
|
||||
form.clearFormErrors();
|
||||
});
|
||||
|
||||
$(modal).on("hidden.bs.modal", function (){
|
||||
form.clearFormErrors();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue