projects
/
qomet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cosmetics
[qomet.git]
/
public
/
javascripts
/
courseList.js
diff --git
a/public/javascripts/courseList.js
b/public/javascripts/courseList.js
index
ae1f1d8
..
238c1fc
100644
(file)
--- a/
public/javascripts/courseList.js
+++ b/
public/javascripts/courseList.js
@@
-20,7
+20,7
@@
window.onload = function() {
if (!admin)
return;
// modal, fill code and description
- let error = Validator.check
Code(this.newCourse.code
);
+ let error = Validator.check
Object({code:this.newCourse.code}, "Course"
);
if (!!error)
return alert(error);
else