svn commit: r1748199 - /ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl

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

svn commit: r1748199 - /ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl

pranayp
Author: pranayp
Date: Mon Jun 13 12:39:29 2016
New Revision: 1748199

URL: http://svn.apache.org/viewvc?rev=1748199&view=rev
Log:
[OFBIZ-7296] Fixed Create Request for Quote, Create New Quote and Save links on shopping list details screen.

Thanks Mohammed Rehan Khan for the contribution.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl?rev=1748199&r1=1748198&r2=1748199&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl Mon Jun 13 12:39:29 2016
@@ -122,14 +122,14 @@ under the License.
 <div class="screenlet">
     <div class="screenlet-title-bar">
         <div class="boxlink">
-          <a class='submenutext' href='javascript:$('createCustRequestFromShoppingList').submit()'>${uiLabelMap.OrderCreateCustRequestFromShoppingList}</a>
-          <a class='submenutext' href='javascript:$('createQuoteFromShoppingList').submit()'>${uiLabelMap.OrderCreateQuoteFromShoppingList}</a>
-          <a href="javascript:$('updateList').submit();" class="submenutextright">${uiLabelMap.CommonSave}</a>
+          <a class='submenutext' href='javascript:document.createCustRequestFromShoppingList.submit();'>${uiLabelMap.OrderCreateCustRequestFromShoppingList}</a>
+          <a class='submenutext' href='javascript:document.createQuoteFromShoppingList.submit();'>${uiLabelMap.OrderCreateQuoteFromShoppingList}</a>
+          <a href="javascript:document.updateList.submit();" class="submenutextright">${uiLabelMap.CommonSave}</a>
         </div>
         <h3>${uiLabelMap.EcommerceShoppingListDetail} - ${shoppingList.listName}</h3>
     </div>
     <div class="screenlet-body">
-      <form id= "createCustRequestFromShoppingList" method= "post" action= "<@ofbizUrl>createCustRequestFromShoppingList</@ofbizUrl>">
+      <form name= "createCustRequestFromShoppingList" method= "post" action= "<@ofbizUrl>createCustRequestFromShoppingList</@ofbizUrl>">
         <fieldset>
           <input type= "hidden" name= "shoppingListId" value= "${shoppingList.shoppingListId}"/>
         </fieldset>
@@ -139,7 +139,7 @@ under the License.
           <input type="hidden" name="shoppingListId" value="${shoppingList.shoppingListId}"/>
         </fieldset>
       </form>
-      <form id="updateList" method="post" action="<@ofbizUrl>updateShoppingList</@ofbizUrl>">
+      <form name="updateList" method="post" action="<@ofbizUrl>updateShoppingList</@ofbizUrl>">
         <fieldset class="inline">
           <input type="hidden" class="inputBox" name="shoppingListId" value="${shoppingList.shoppingListId}" />
           <input type="hidden" class="inputBox" name="partyId" value="${shoppingList.partyId?if_exists}" />
@@ -199,7 +199,7 @@ under the License.
               </#if>
             </div>
             <div>
-              <input type="submit" class="button" name="submit" value="${uiLabelMap.CommonSave}">
+              <a href="javascript:document.updateList.submit();" class="button">${uiLabelMap.CommonSave}</a>
             </div>
           </fieldset>
         </form>