[ofbiz-framework] branch trunk updated: Fixed: jquery.ui.datepicker-en.js does not exist (OFBIZ-12071)

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

[ofbiz-framework] branch trunk updated: Fixed: jquery.ui.datepicker-en.js does not exist (OFBIZ-12071)

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-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new cfabbc9  Fixed: jquery.ui.datepicker-en.js does not exist (OFBIZ-12071)
cfabbc9 is described below

commit cfabbc9b7426a781bf1cb8b135364bb0b4ab25be
Author: James Yong <[hidden email]>
AuthorDate: Sat Dec 5 19:24:09 2020 +0800

    Fixed: jquery.ui.datepicker-en.js does not exist (OFBIZ-12071)
   
    Fixed for Jquery DatePicker
---
 .../src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java   | 2 +-
 themes/common-theme/template/JsLanguageFilesMapping.ftl                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java b/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java
index 96c858f..a21c173 100644
--- a/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java
+++ b/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java
@@ -207,7 +207,7 @@ public final class JsLanguageFilesMapping {
 
     public static class JQuery {
         private static Map<String, String> localeFiles = new HashMap<>();
-        private static String defaultDateJs = "/common/js/jquery/ui/i18n/jquery.ui.datepicker-en.js";
+        private static String defaultDateJs = "/common/js/jquery/ui/i18n/datepicker-en.js";
 
         static {
             localeFiles.put("sq", "/common/js/jquery/ui/i18n/datepicker-sq.js");
diff --git a/themes/common-theme/template/JsLanguageFilesMapping.ftl b/themes/common-theme/template/JsLanguageFilesMapping.ftl
index ab1f3f9..a463b2e 100644
--- a/themes/common-theme/template/JsLanguageFilesMapping.ftl
+++ b/themes/common-theme/template/JsLanguageFilesMapping.ftl
@@ -54,7 +54,7 @@ public final class JsLanguageFilesMapping {
 
     public static class JQuery {
         private static Map<String, String> localeFiles = new HashMap<>();
-        private static String defaultDateJs = "/common/js/jquery/ui/i18n/jquery.ui.datepicker-en.js";
+        private static String defaultDateJs = "/common/js/jquery/ui/i18n/datepicker-en.js";
 
         static {
             <#list jquery.keySet() as jqueryFiles>