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

Wei Zhang commented on OFBIZ-5279:
----------------------------------

Hi Jacques,

The line below in line #371 was not changed correctly
{code}
if (jQuery('#content-messages').length == 0)
{code}

It should be(It should be opposite of line #355) 

{code}
if (jQuery('#content-messages').length)
{code}

or 

{code}
if (jQuery('#content-messages').length>0)
{code}


Thanks,

Wei
                
> Wrong to use !jQuery('#content-messages') in 
> \framework\images\webapp\images\selectall.js line #354
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5279
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5279
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Wei Zhang
>         Attachments: patches.zip
>
>
> I think we should use 
> if(jQuery('#content-messages').length==0)
> insead of 
> if(!jQuery('#content-messages'))
> in framework\images\webapp\images\selectall.js line #354.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to