svn commit: r773697 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r773697 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl

jleroux@apache.org
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>&nbsp;</div>
             </td>
             <td align="right" valign="top" width="1%" nowrap>
-              <div><a href="<@ofbizUrl>deleteContactMech/viewprofile?contactMechId=${contactMech.contactMechId}</@ofbizUrl>" class="buttontext">
-              ${uiLabelMap.CommonExpire}</a>&nbsp;&nbsp;</div>
+              <form name= "deleteContactMech_${contactMech.contactMechId}" method= "post" action= "<@ofbizUrl>deleteContactMech</@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>