From 227f2c8389d07a3fe83aa2906e9de7fa6917c8ce Mon Sep 17 00:00:00 2001 From: Pranay Pandey Date: Mon, 13 Jun 2016 09:35:41 +0000 Subject: [PATCH] [OFBIZ-7291] Applied slightly modified patch from the ticket to fix security error on Remove Shopping List Item link in eCommerce. Thanks Mohammed Rehan Khan for the contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1748156 13f79535-47bb-0310-9956-ffa450edef68 --- ecommerce/template/shoppinglist/EditShoppingList.ftl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ecommerce/template/shoppinglist/EditShoppingList.ftl b/ecommerce/template/shoppinglist/EditShoppingList.ftl index 69513d093..1c86ec8d6 100644 --- a/ecommerce/template/shoppinglist/EditShoppingList.ftl +++ b/ecommerce/template/shoppinglist/EditShoppingList.ftl @@ -490,7 +490,13 @@ under the License. ${uiLabelMap.CommonUpdate} - ${uiLabelMap.CommonRemove} +
+
+ + +
+
+ ${uiLabelMap.CommonRemove} <#if isVirtual && productVariantAssocs?has_content> <#assign replaceItemAction = "/replaceShoppingListItem/" + requestAttributes._CURRENT_VIEW_?if_exists /> <#assign addToCartAction = "/additem/" + requestAttributes._CURRENT_VIEW_?if_exists />