[ofbiz-plugins] branch trunk updated: Improved: multi-block attribute for html-template tag (OFBIZ-11686)

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

[ofbiz-plugins] branch trunk updated: Improved: multi-block attribute for html-template tag (OFBIZ-11686)

James Yong-2
This is an automated email from the ASF dual-hosted git repository.

jamesyong pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1c9f2ab  Improved: multi-block attribute for html-template tag (OFBIZ-11686)
1c9f2ab is described below

commit 1c9f2ab9c65f5fae2ff346183fb27592acc69ae5
Author: James Yong <[hidden email]>
AuthorDate: Tue Aug 25 21:58:26 2020 +0800

    Improved: multi-block attribute for html-template tag (OFBIZ-11686)
   
    Not important to track server hits for getJs request
---
 ecommerce/webapp/ecommerce/WEB-INF/controller.xml | 2 +-
 webpos/webapp/webpos/WEB-INF/controller.xml       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecommerce/webapp/ecommerce/WEB-INF/controller.xml b/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
index 2aef59e..d3401a7 100644
--- a/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
+++ b/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
@@ -170,7 +170,7 @@ under the License.
     </request-map>
 
     <!-- Support multi-block="true" in html-template tag -->
-    <request-map uri="getJs" method="get">
+    <request-map uri="getJs" method="get" track-serverhit="false">
         <security https="false" auth="false"/>
         <response name="success" type="request" value="js"/>
         <response name="error" type="request" value="js"/>
diff --git a/webpos/webapp/webpos/WEB-INF/controller.xml b/webpos/webapp/webpos/WEB-INF/controller.xml
index dd62358..80d02e5 100644
--- a/webpos/webapp/webpos/WEB-INF/controller.xml
+++ b/webpos/webapp/webpos/WEB-INF/controller.xml
@@ -496,7 +496,7 @@
         <response name="error" type="request" value="json"/>
     </request-map>
 
-    <request-map uri="getJs" method="get">
+    <request-map uri="getJs" method="get" track-serverhit="false">
         <security https="false" auth="false"/>
         <response name="success" type="request" value="js"/>
         <response name="error" type="request" value="js"/>