You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/05/11 23:14:31 UTC
svn commit: r773697 -
/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
Author: jleroux
Date: Mon May 11 21:14:30 2009
New Revision: 773697
URL: http://svn.apache.org/viewvc?rev=773697&view=rev
Log:
A modified patch from Chandan Khandelwal added by hand : "Delete contact from View Profile screen in eCommerce" (https://issues.apache.org/jira/browse/OFBIZ-2422) - OFBIZ-2422
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl?rev=773697&r1=773696&r2=773697&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl Mon May 11 21:14:30 2009
@@ -214,8 +214,10 @@
${uiLabelMap.CommonUpdate}</a> </div>
</td>
<td align="right" valign="top" width="1%" nowrap>
- <div><a href="<@o...@ofbizUrl>" class="buttontext">
- ${uiLabelMap.CommonExpire}</a> </div>
+ <form name= "deleteContactMech_${contactMech.contactMechId}" method= "post" action= "<@o...@ofbizUrl>">
+ <input type= "hidden" name= "contactMechId" value= "${contactMech.contactMechId}"/>
+ <a href='javascript:document.deleteContactMech_${contactMech.contactMechId}.submit()' class='buttontext'>${uiLabelMap.CommonExpire}</a>
+ </form>
</td>
</tr>
</#list>