[FIX] website_quote: the confirm button is not necessarly in that specific div

This commit is contained in:
Damien Bouvy
2015-06-26 17:33:41 +02:00
committed by Julien Legros
parent 247867b8a3
commit 32c7f1e48d
@@ -174,7 +174,7 @@ $(document).ready(function () {
.find("input[name='acquirer']:checked").click();
// When clicking on payment button: create the tx using json then continue to the acquirer
$payment.on("click", 'button[type="submit"],button[name="submit"]', function (ev) {
$('.oe_quote_acquirer_button').on("click", 'button[type="submit"],button[name="submit"]', function (ev) {
ev.preventDefault();
ev.stopPropagation();
var $form = $(ev.currentTarget).parents('form');