[jira] [Commented] (OFBIZ-1319) Split javascript files to have more generic ones includable in all screens, and the more specific ones included more locally

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

[jira] [Commented] (OFBIZ-1319) Split javascript files to have more generic ones includable in all screens, and the more specific ones included more locally

Nicolas Malin (Jira)

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

Amardeep Singh Jhajj commented on OFBIZ-1319:
---------------------------------------------

Hi Jacques and Deepak,

I think we can start with renaming selectall.js with Utility.js (or OfbizUtil.js). I am done with functionality of making one generic utility code for checkToggle, toggleAll and selectAll functions. We can create the child ticket for it, so that i can upload the patch.

Meanwhile, I am also looking in to require.js as suggested by Jacques. Thanks.

> Split javascript files to have more generic ones includable in all screens, and the more specific ones included more locally
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1319
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> From a David's E. Jones comment on ML :
> We should split up javascript files to have the more generic ones includable in all screens, and the more specific ones (like the toggle* and selectAll* methods in there) into a file that can be included more locally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)