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

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

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

Nicolas Malin (Jira)

    [ 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)