From ddb77b26186a7f115e30ee87f11041b0757d76df Mon Sep 17 00:00:00 2001 From: Daniel Sloof Date: Tue, 2 Aug 2016 10:11:34 +0200 Subject: [PATCH] prevent double shipping method selection There already is a click handler on the , so there is no need to put it on the radio input. This prevents selectShippingMethod from being executed twice. For more information, see issue #5814. Closes #5814. --- .../Magento/Checkout/view/frontend/web/template/shipping.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/code/Magento/Checkout/view/frontend/web/template/shipping.html b/app/code/Magento/Checkout/view/frontend/web/template/shipping.html index 3b3b4f09c63b8..66d0f7f0880e6 100644 --- a/app/code/Magento/Checkout/view/frontend/web/template/shipping.html +++ b/app/code/Magento/Checkout/view/frontend/web/template/shipping.html @@ -98,8 +98,7 @@ attr: { 'id': 's_method_' + method.carrier_code + '_' + method.method_code, 'aria-labelledby': 'label_method_' + method.method_code + '_' + method.carrier_code + ' ' + 'label_carrier_' + method.method_code + '_' + method.carrier_code - }, - click: $parent.selectShippingMethod" + }" class="radio"/>