svn commit: r773698 - in /ofbiz/branches/release09.04: ./ 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: r773698 - in /ofbiz/branches/release09.04: ./ specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl

jleroux@apache.org
Author: jleroux
Date: Mon May 11 21:16:43 2009
New Revision: 773698

URL: http://svn.apache.org/viewvc?rev=773698&view=rev
Log:
"Applied fix from trunk for revision: 773697"
------------------------------------------------------------------------
r773697 | jleroux | 2009-05-11 23:14:30 +0200 (lun., 11 mai 2009) | 1 line

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/branches/release09.04/   (props changed)
    ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl

Propchange: ofbiz/branches/release09.04/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon May 11 21:16:43 2009
@@ -1 +1 @@
-/ofbiz/trunk:765933,766011,766015,766293,766307,766316,766325,766462,766522,766800,767060,767072,767093,767098-767099,767102,767123,767125,767127,767279,767287,767671,767688,767694,767822,767845,768358,768490,768550,768675,768686,768705,768811,768815,768960,769030,769500,770272,770997,771073,772401,772464-772465,773076,773557,773628,773659
+/ofbiz/trunk:765933,766011,766015,766293,766307,766316,766325,766462,766522,766800,767060,767072,767093,767098-767099,767102,767123,767125,767127,767279,767287,767671,767688,767694,767822,767845,768358,768490,768550,768675,768686,768705,768811,768815,768960,769030,769500,770272,770997,771073,772401,772464-772465,773076,773557,773628,773659,773697

Modified: ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl?rev=773698&r1=773697&r2=773698&view=diff
==============================================================================
--- ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl (original)
+++ ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/viewprofile.ftl Mon May 11 21:16:43 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>