You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2021/03/15 09:45:00 UTC

[jira] [Commented] (OFBIZ-12064) Load language js for date.js only when required

    [ https://issues.apache.org/jira/browse/OFBIZ-12064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301543#comment-17301543 ] 

Jacques Le Roux commented on OFBIZ-12064:
-----------------------------------------

Hi James,

While working on OFBIZ-11684 I tried to backport this to R18. As it's not straightforward I have a question for you, hope you remember. 
At https://markmail.org/message/doakpjln4qob2agq you said:
bq.  Found one dependency with datetimepicker.
Do you remember what the dependency is? Because simply removing JsLanguageFilesMapping.datejs calling from GlobalActions works at least at /ordermgr/control/orderentry. I tested other locations as well and all seems working. So I wonder what the dependency with datetimepicker are, TIA


> Load language js for date.js only when required 
> ------------------------------------------------
>
>                 Key: OFBIZ-12064
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12064
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: base
>    Affects Versions: Trunk
>            Reporter: James Yong
>            Assignee: James Yong
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-12064.patch
>
>
> Only load language js for Date.js when there is a date time picker in the page. The library is located at themes/common-themes/webapp/common/js/jquery/plugins/datejs.
> Discussion started at 
> https://lists.apache.org/thread.html/re9288f4d70f216677f08d859bba8d6fc195d0d2d754f0e93838d87f9%40%3Cdev.ofbiz.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)