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

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

Ah, and this while going to catalog/control/ListVisualThemes. So it's maybe 
simply lacking the jQuery lib or is not used there.
Ah, and this is possibly due to the recent common theme change (most probably). 
Then while reopening, please link this issue as being broken by OFBIZ-9138 

HTH

> One generic functionality for select all checkbox by removing currently 
> written multiple functionality
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7720
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7720
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Amardeep Singh Jhajj
>            Assignee: Pranay Pandey
>             Fix For: 16.11.01
>
>         Attachments: OFBIZ-7720.patch
>
>
> We have many occurrence of selectAll, toggleAll abd checkToggle function 
> calling in ftls. Example: 
> {code}
> // For selecting all the child checkboxes
> <input type="checkbox" name="selectAll" value="Y" 
> onclick="javascript:toggleAll(this, '${selectAllFormName}');"/>
> // For selecting the child checkboxes and parent (if all child boxes is 
> selected)
> <input type="checkbox" name="_rowSubmit_o_${rowCount}" value="Y" 
> onclick="javascript:checkToggle(this, '${selectAllFormName}');"/>
> // For selecting all the child checkboxes if parent checbox is selected on 
> page load.
> <script language="JavaScript" 
> type="text/javascript">selectAll('selectAllForm');</script>
> {code}
> Above all functionality should be replaced using one generic utility of 
> selectAll. Example:
> {code}
> // One class "selectAll" on parent checkbox will handle all above cases.
> <input type="checkbox" name="selectAll" value="Y" class="selectAll"/>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to