aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-06-08 13:06:14 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-06-08 13:06:14 +0100
commitaf93882df00779d70aee019bcbc24577767e9079 (patch)
treeb0a43e3100abb1c30573e7e52b4576f183a479b6 /web
parent01b3aff830769820aca641e0841564d2c63e03d2 (diff)
Form needs to be in the body for IE8 to submit.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 84637cfe0..c8ed8ae51 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -354,6 +354,7 @@ $.fn.drawer = function(id, ajax) {
var $v = $(this);
$('<input/>').attr({ name:$v.attr('name'), value:$v.val(), type:'hidden' }).appendTo(form);
});
+ $('body').append(form);
form.submit();
});