From: Jan Szejko <janek37@gmail.com>
Date: Wed, 11 Jan 2017 15:19:15 +0000 (+0100)
Subject: update max upload size in js
X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/d4e30da6169912cf6de8557a5dcb8b978b5d9fb5?hp=eab0ad545f8e59803b96b899d3ce3e242d925917

update max upload size in js
---

diff --git a/stage2/static/js/checkfile.js b/stage2/static/js/checkfile.js
index 6d3782c..5482688 100644
--- 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 > 10 * 1024 * 1024) {
-                alert('Rozmiar pliku nie może przekraczać 10 MB!');
+            if (size > 20 * 1024 * 1024) {
+                alert('Rozmiar pliku nie może przekraczać 20 MB!');
                 ok = false;
             }
             if (!ok) {