diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-06-08 13:06:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-06-08 13:06:14 +0100 |
commit | af93882df00779d70aee019bcbc24577767e9079 (patch) | |
tree | b0a43e3100abb1c30573e7e52b4576f183a479b6 /web | |
parent | 01b3aff830769820aca641e0841564d2c63e03d2 (diff) |
Form needs to be in the body for IE8 to submit.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 1 |
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(); }); |