svn commit: r811280 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl

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

svn commit: r811280 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl

jleroux@apache.org
Author: jleroux
Date: Fri Sep  4 08:35:41 2009
New Revision: 811280

URL: http://svn.apache.org/viewvc?rev=811280&view=rev
Log:
A patch from Ahmed Dini "non-secure (https) request error [searchorders] (searchOtherOrders)" (https://issues.apache.org/jira/browse/OFBIZ-2787) - OFBIZ-2787
 

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl?rev=811280&r1=811279&r2=811280&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl Fri Sep  4 08:35:41 2009
@@ -56,8 +56,15 @@
                 <#if orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL">
                 <div>
                    <a href="<@ofbizUrl>/orderentry?partyId=${partyId}&amp;orderTypeId=${orderHeader.orderTypeId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderNewOrder}</a>
-                   <a href="<@ofbizUrl>/searchorders?lookupFlag=Y&amp;hideFields=Y&amp;partyId=${partyId}&amp;viewIndex=1&amp;viewSize=20</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderOtherOrders}</a>
+                   <a href="javascript:document.searchOtherOrders.submit()" class="buttontext">${uiLabelMap.OrderOtherOrders}</a>
                 </div>
+                  <form name="searchOtherOrders" method="post" action="<@ofbizUrl>searchorders</@ofbizUrl>">
+                    <input type="hidden" name="lookupFlag" value="Y"/>
+                    <input type="hidden" name="hideFields" value="Y"/>
+                    <input type="hidden" name="partyId" value="${partyId}">
+                    <input type="hidden" name="viewIndex" value="1"/>
+                    <input type="hidden" name="viewSize" value="20"/>
+                  </form>
                 </#if>
               </#if>
             </div>