Author: jleroux
Date: Sun Dec 16 02:17:30 2007
New Revision: 604597
URL:
http://svn.apache.org/viewvc?rev=604597&view=revLog:
A patch from Bilgin Ibryam "Bug in lookup windows URL" (
https://issues.apache.org/jira/browse/OFBIZ-1388) - OFBIZ-1388
This commit definitively fix this issue
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/javascript.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/javascript.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/javascript.ftl?rev=604597&r1=604596&r2=604597&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/javascript.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/javascript.ftl Sun Dec 16 02:17:30 2007
@@ -97,9 +97,9 @@
}
function quicklookup(element) {
<#if shoppingCart.getOrderType() == "PURCHASE_ORDER">
- window.location='LookupBulkAddSupplierProducts?productId='+element.value;
+ window.location='<@ofbizUrl>LookupBulkAddSupplierProducts</@ofbizUrl>?productId='+element.value;
<#else>
- window.location='LookupBulkAddProducts?productId='+element.value;
+ window.location='<@ofbizUrl>LookupBulkAddProducts</@ofbizUrl>?productId='+element.value;
</#if>
}
</script>