From a8d7cd417dbdca0776c949fcbc0197547359d6fa Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Fri, 9 Nov 2018 10:30:52 +0000 Subject: [PATCH] Improved: Have eCommerce component reflect the new situation re iDEAL (OFBIZ-5445) Remove IDEAL related code from the ecommerce component. When the IDEAL solution isn't part of the accounting component, the code in ecommerce should be removed as well. Thanks: Pierre Smits git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1846229 13f79535-47bb-0310-9956-ffa450edef68 --- ecommerce/template/order/CheckoutPayment.ftl | 43 ------------------- .../webapp/ecommerce/WEB-INF/controller.xml | 13 ------ 2 files changed, 56 deletions(-) diff --git a/ecommerce/template/order/CheckoutPayment.ftl b/ecommerce/template/order/CheckoutPayment.ftl index d908461f7..75416b562 100644 --- a/ecommerce/template/order/CheckoutPayment.ftl +++ b/ecommerce/template/order/CheckoutPayment.ftl @@ -56,31 +56,6 @@ function submitForm(form, mode, value) { form.submit(); } //]]> -$(document).ready(function(){ -var issuerId = ""; - if ($('#checkOutPaymentId_IDEAL').attr('checked') == true) { - $('#issuers').show(); - issuerId = $('#issuer').val(); - $('#issuerId').val(issuerId); - } else { - $('#issuers').hide(); - $('#issuerId').val(''); - } - $('input:radio').click(function(){ - if ($(this).val() == "EXT_IDEAL") { - $('#issuers').show(); - issuerId = $('#issuer').val(); - $('#issuerId').val(issuerId); - } else { - $('#issuers').hide(); - $('#issuerId').val(''); - } - }); - $('#issuer').change(function(){ - issuerId = $(this).val(); - $('#issuerId').val(issuerId); - }); -}); @@ -134,24 +109,6 @@ var issuerId = ""; ${uiLabelMap.AccountingPayWithPayPal} - <#if productStorePaymentMethodTypeIdMap.EXT_IDEAL??> -
- -
- -
-
- -
-
<#if !paymentMethodList?has_content>
diff --git a/ecommerce/webapp/ecommerce/WEB-INF/controller.xml b/ecommerce/webapp/ecommerce/WEB-INF/controller.xml index b1fd1b544..e28b24b07 100644 --- a/ecommerce/webapp/ecommerce/WEB-INF/controller.xml +++ b/ecommerce/webapp/ecommerce/WEB-INF/controller.xml @@ -754,7 +754,6 @@ under the License. - @@ -796,18 +795,6 @@ under the License. - - - - - - - - - - - -