OLD: form validation is presented to user
This commit is contained in:
parent
dc6c039c7c
commit
3687623efa
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ $(function() {
|
|||
var check = form.check();
|
||||
if(check.length > 0) {
|
||||
console.log("Errors in form", check);
|
||||
error_dialog(check.map(function(err) { return err.msg; }).join('\n'));
|
||||
return;
|
||||
}
|
||||
click($('#download'));
|
||||
|
|
Loading…
Reference in a new issue