You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/04/29 13:59:25 UTC

svn commit: r769764 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl

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="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a>&nbsp;&nbsp;
+                  <form name= "deletePostalAddress_${contactMech.contactMechId}" method= "post" action= "<@o...@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">