[FIX] website_sale: retrocompatible patch for a6379e2e67

The view *_acquirer_button being  being in noupdate mode, this is possible that the view isn't updated during the migration
This commit is contained in:
Denis Ledoux 2015-01-09 14:00:57 +01:00
parent a9907aac8a
commit 8d9cfd7321
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,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"]', function (ev) {
$payment.on("click", 'button[type="submit"],button[name="submit"]', function (ev) {
ev.preventDefault();
ev.stopPropagation();
var $form = $(ev.currentTarget).parents('form');