Skip to content

Commit

Permalink
Fixes confirmation button redirect for ajax modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mollierobbert committed Nov 24, 2014
1 parent 7b21a9b commit c158ad3
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@
</div>
</div>

<script type="text/javascript">
// Don't rely on document.ready for jQuery 1.7- support.
(function ($)
{
$('#button-confirm').click($('#mollie_payment_form').submit);
}) (window.jQuery || window.$);
</script>
<script type="text/javascript">
(function ($)
{
$("#button-confirm").click(function()
{
$("#mollie_payment_form").submit();
});
}) (window.jQuery || window.$);
</script>
</form>
</div>

0 comments on commit c158ad3

Please sign in to comment.