Browse Source

OLD: form validation is presented to user

boyska 9 years ago
parent
commit
3687623efa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      server/static/js/old.js

+ 1 - 0
server/static/js/old.js

@@ -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'));