fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
eab0ad5
)
update max upload size in js
author
Jan Szejko
<janek37@gmail.com>
Wed, 11 Jan 2017 15:19:15 +0000
(16:19 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 11 Jan 2017 15:19:15 +0000
(16:19 +0100)
stage2/static/js/checkfile.js
patch
|
blob
|
history
diff --git
a/stage2/static/js/checkfile.js
b/stage2/static/js/checkfile.js
index
6d3782c
..
5482688
100644
(file)
--- a/
stage2/static/js/checkfile.js
+++ b/
stage2/static/js/checkfile.js
@@
-16,8
+16,8
@@
$(function() {
}
}
var size = this.files[0].size;
- if (size >
1
0 * 1024 * 1024) {
- alert('Rozmiar pliku nie może przekraczać
1
0 MB!');
+ if (size >
2
0 * 1024 * 1024) {
+ alert('Rozmiar pliku nie może przekraczać
2
0 MB!');
ok = false;
}
if (!ok) {