From f610b0d844c37cc9b1dc1b94c17f3d0e5a3ca21a Mon Sep 17 00:00:00 2001
From: Jerome Nadaud
Date: Mon, 19 Aug 2013 16:37:48 +0200
Subject: [PATCH] [+] MO : Bankwire, cashondelivery, cheque disable confirm
button on click
---
modules/bankwire/views/templates/front/payment_execution.tpl | 4 ++--
modules/blockcart/ajax-cart.js | 5 +++++
modules/cashondelivery/views/templates/front/validation.tpl | 4 ++--
modules/cheque/views/templates/front/payment_execution.tpl | 4 ++--
4 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/modules/bankwire/views/templates/front/payment_execution.tpl b/modules/bankwire/views/templates/front/payment_execution.tpl
index 2d903529e..2cff04ea5 100644
--- a/modules/bankwire/views/templates/front/payment_execution.tpl
+++ b/modules/bankwire/views/templates/front/payment_execution.tpl
@@ -71,8 +71,8 @@
{l s='Please confirm your order by clicking "Place my order."' mod='bankwire'}.
-
-
+
+
{l s='Other payment methods' mod='bankwire'}
diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js
index 65860c4ff..b0de33fd0 100644
--- a/modules/blockcart/ajax-cart.js
+++ b/modules/blockcart/ajax-cart.js
@@ -729,4 +729,9 @@ $(document).ready(function(){
}
return false;
});
+
+ $('#cart_navigation input').click(function(){
+ $(this).attr('disabled', true).removeClass('exclusive').addClass('exclusive_disabled');
+ $(this).closest("form").get(0).submit();
+ });
});
diff --git a/modules/cashondelivery/views/templates/front/validation.tpl b/modules/cashondelivery/views/templates/front/validation.tpl
index 3cef97272..9ea4c7d13 100755
--- a/modules/cashondelivery/views/templates/front/validation.tpl
+++ b/modules/cashondelivery/views/templates/front/validation.tpl
@@ -50,8 +50,8 @@
{l s='Please confirm your order by clicking \'I confirm my order\'' mod='cashondelivery'}.
-
+
{l s='Other payment methods' mod='cashondelivery'}
-
+
diff --git a/modules/cheque/views/templates/front/payment_execution.tpl b/modules/cheque/views/templates/front/payment_execution.tpl
index a359168ae..4522fb0b7 100644
--- a/modules/cheque/views/templates/front/payment_execution.tpl
+++ b/modules/cheque/views/templates/front/payment_execution.tpl
@@ -71,8 +71,8 @@
{l s='Please confirm your order by clicking \'I confirm my order\'' mod='cheque'}.
-
-
+
+
{l s='Other payment methods' mod='cheque'}