From: Aleksander Łukasz Date: Fri, 15 Nov 2013 10:45:16 +0000 (+0100) Subject: Fix form submission for older IE versions X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/c411ffb02d0b387e2e3ca0be2dbad5e373eeed64?ds=sidebyside;hp=99ce3a20689dcc27df55dedace26c3af0a66c64d Fix form submission for older IE versions --- diff --git a/wtem/static/wtem/wtem.js b/wtem/static/wtem/wtem.js index fe04ba6..1c61498 100644 --- a/wtem/static/wtem/wtem.js +++ b/wtem/static/wtem/wtem.js @@ -2,7 +2,7 @@ $(function() { var to_submit; - $('#submit_answers').click(function(e) { + $('form').submit(function(e) { //e.preventDefault(); to_submit = {}; diff --git a/wtem/templates/wtem/main.html b/wtem/templates/wtem/main.html index 4f80064..8477e03 100644 --- a/wtem/templates/wtem/main.html +++ b/wtem/templates/wtem/main.html @@ -60,8 +60,7 @@ ZespóŠEdukacji Medialnej, Fundacja Nowoczesna Polska
Sprawdź jeszcze raz wszystkie swoje odpowiedzi, a nastÄpnie wyÅlij je do nas klikajÄ c w poniższy przycisk: