You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2011/06/14 18:35:31 UTC
svn commit: r1135686 -
/ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl
Author: jaz
Date: Tue Jun 14 16:35:31 2011
New Revision: 1135686
URL: http://svn.apache.org/viewvc?rev=1135686&view=rev
Log:
fixed bug that prevented removing items from a shopping list
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl?rev=1135686&r1=1135685&r2=1135686&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl Tue Jun 14 16:35:31 2011
@@ -191,6 +191,10 @@ under the License.
<td><a href="/catalog/control/EditProduct?productId=${shoppingListItem.productId}&externalLoginKey=${requestAttributes.externalLoginKey}">${shoppingListItem.productId} -
${productContentWrapper.get("PRODUCT_NAME")?default("No Name")}</a> : ${productContentWrapper.get("DESCRIPTION")?if_exists}
</td>
+ <form method="post" action="<@o...@ofbizUrl>" name='removeform_${shoppingListItem.shoppingListItemSeqId}'>
+ <input type="hidden" name="shoppingListId" value="${shoppingListItem.shoppingListId}" />
+ <input type="hidden" name="shoppingListItemSeqId" value="${shoppingListItem.shoppingListItemSeqId}" />
+ </form>
<form method="post" action="<@o...@ofbizUrl>" name='listform_${shoppingListItem.shoppingListItemSeqId}'>
<input type="hidden" name="shoppingListId" value="${shoppingListItem.shoppingListId}" />
<input type="hidden" name="shoppingListItemSeqId" value="${shoppingListItem.shoppingListItemSeqId}" />
@@ -208,7 +212,7 @@ under the License.
<td class="align-float"><@ofbizCurrency amount=totalPrice isoCode=currencyUomId/></td>
<td class="button-col align-float">
<a href="javascript:document.listform_${shoppingListItem.shoppingListItemSeqId}.submit();">${uiLabelMap.CommonUpdate}</a>
- <a href="<@o...@ofbizUrl>">${uiLabelMap.CommonRemove}</a>
+ <a href="javascript:document.removeform_${shoppingListItem.shoppingListItemSeqId}.submit();">${uiLabelMap.CommonRemove}</a>
</td>
</tr>
<#-- toggle the row color -->