fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
supervisors for stage 2 assignments
[edumed.git]
/
stage2
/
static
/
js
/
checkfile.js
diff --git
a/stage2/static/js/checkfile.js
b/stage2/static/js/checkfile.js
index
36afefc
..
9d1ae97
100644
(file)
--- a/
stage2/static/js/checkfile.js
+++ b/
stage2/static/js/checkfile.js
@@
-14,8
+14,8
@@
$(function() {
alert('Błędne rozszerzenie! Powinno być: ' + ext);
ok = false;
}
alert('Błędne rozszerzenie! Powinno być: ' + ext);
ok = false;
}
- if (name.length >
100
) {
- alert('Za długa nazwa pliku! Maksymalna długość:
100
znaków (jest: ' + name.length + ')');
+ if (name.length >
65
) {
+ alert('Za długa nazwa pliku! Maksymalna długość:
65
znaków (jest: ' + name.length + ')');
ok = false;
}
}
ok = false;
}
}