From fa60ccd7b4bc29985a13147cea334d00a42df778 Mon Sep 17 00:00:00 2001 From: Ashish Vijaywargiya Date: Thu, 5 Nov 2009 10:08:35 +0000 Subject: [PATCH] Applied patch from jira issue OFBIZ-3159 - Move geoAutoCompleter.js from ecommerce to ordermgr. geoAutoCompleter.js currently resides in specialpurpose/ecommerce component. But now it is also used in OrderViewScreen.xml#OrderHeaderView screen. First of all we can't have dependency of ordermgr on ecommerce component. Secondly, if I am developing a custom ecommerce application with mount point /ecommerce, thus overriding specialpurpose/ecommerce webapp, and copying the geoAutoCompleter.js to my custom application (to customize) in a directory structure other than that of specialpurpose/ecommerce, then the JS file is not loaded in OrderHeaderView screen due to change of location. The only reason is the dependency stated above. Hence this change is vital. While doing this change, all the references to geoAutoCompleter.js will need to be updated too. Thanks Arpit for the contribution. Special thanks to Mridul for providing notes for the implementation. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833026 13f79535-47bb-0310-9956-ffa450edef68 --- .../order/webapp/ordermgr/images/js}/geoAutoCompleter.js | 0 applications/order/widget/ordermgr/OrderViewScreens.xml | 2 +- specialpurpose/ecommerce/widget/CustomerScreens.xml | 4 ++-- specialpurpose/ecommerce/widget/OrderScreens.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename {specialpurpose/ecommerce/webapp/ecommerce/images => applications/order/webapp/ordermgr/images/js}/geoAutoCompleter.js (100%) diff --git a/specialpurpose/ecommerce/webapp/ecommerce/images/geoAutoCompleter.js b/applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js similarity index 100% rename from specialpurpose/ecommerce/webapp/ecommerce/images/geoAutoCompleter.js rename to applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js diff --git a/applications/order/widget/ordermgr/OrderViewScreens.xml b/applications/order/widget/ordermgr/OrderViewScreens.xml index 513c05bc10..a8b59862ba 100644 --- a/applications/order/widget/ordermgr/OrderViewScreens.xml +++ b/applications/order/widget/ordermgr/OrderViewScreens.xml @@ -74,7 +74,7 @@ under the License. - +