Author: ashish
Date: Wed Apr 29 11:59:24 2009
New Revision: 769764

URL: http://svn.apache.org/viewvc?rev=769764&view=rev
Log:
Applied patch from jira issue OFBIZ-2389 (Delete Additional Addresses from New 
Profiles pages.)

Thanks Rishi Solanki for your contribution.

Modified:
    
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl

Modified: 
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl?rev=769764&r1=769763&r2=769764&view=diff
==============================================================================
--- 
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl
 (original)
+++ 
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl
 Wed Apr 29 11:59:24 2009
@@ -212,7 +212,10 @@
               <div class="form-row">
                 <span>
                   <a id="update_${contactMech.contactMechId}" 
href="javascript:void(0)" class="buttontext popup_link" 
onclick="showState('${contactMech.contactMechId}')">${uiLabelMap.CommonEdit}</a>&nbsp;
-                  <a 
href="<@ofbizUrl>deletePostalAddress?contactMechId=${contactMech.contactMechId}</@ofbizUrl>"
 class="buttontext">${uiLabelMap.CommonDelete}</a>&nbsp;&nbsp;
+                  <form name= 
"deletePostalAddress_${contactMech.contactMechId}" method= "post" action= 
"<@ofbizUrl>deletePostalAddress</@ofbizUrl>">
+                    <input type= "hidden" name= "contactMechId" value= 
"${contactMech.contactMechId}"/>
+                    <a 
href='javascript:document.deletePostalAddress_${contactMech.contactMechId}.submit()'
 class='buttontext'>&nbsp;${uiLabelMap.CommonDelete}&nbsp;</a>
+                  </form> 
                 </span>
               </div>
               <script type="text/javascript">


Reply via email to