[jira] [Commented] (OFBIZ-11799) Move page-specific script links to html template

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

[jira] [Commented] (OFBIZ-11799) Move page-specific script links to html template

Nicolas Malin (Jira)

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

ASF subversion and git services commented on OFBIZ-11799:
---------------------------------------------------------

Commit e405d35c080a94c07205a24ea4d2dedeab8aa4a9 in ofbiz-framework's branch refs/heads/trunk from James Yong
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e405d35 ]

Improved: Move page-specific script links to html template (OFBIZ-11799)

Use importLibrary js function to load locale-specific datepicker js.
Corrected locale naming in macro to use '.locale'.
Tested page at /ordermgr/control/findreturn and /ordermgr/control/orderentry.


> Move page-specific script links to html template
> ------------------------------------------------
>
>                 Key: OFBIZ-11799
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11799
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS, ALL PLUGINS
>    Affects Versions: Upcoming Branch
>            Reporter: James Yong
>            Assignee: James Yong
>            Priority: Minor
>             Fix For: Trunk
>
>
> As external script can be defined in html template, suggest to move some of the page-specific script links from layoutSettings.javaScripts to the html templates.
> 6 Aug 2020
>  Also include moving from layoutSettings.styleSheets, VT_HDR_JAVASCRIPT and VT_STYLESHEET.
> 15 Aug 2020
> Used importLibrary js to load js / css files when needed.



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