You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pr...@apache.org on 2016/06/13 12:39:29 UTC
svn commit: r1748199 -
/ofbiz/trunk/specialpurpose/ecommerce/template/shoppinglist/EditShoppingList.ftl
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= "<@o...@ofbizUrl>">
+ <form name= "createCustRequestFromShoppingList" method= "post" action= "<@o...@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="<@o...@ofbizUrl>">
+ <form name="updateList" method="post" action="<@o...@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>