[gatein-issues] [JBoss JIRA] (GTNPORTAL-2825) NPE due to logical typo in UIMaskLayer.js
Matt Wringe (JIRA)
jira-events at lists.jboss.org
Wed Feb 20 15:13:56 EST 2013
Matt Wringe created GTNPORTAL-2825:
--------------------------------------
Summary: NPE due to logical typo in UIMaskLayer.js
Key: GTNPORTAL-2825
URL: https://issues.jboss.org/browse/GTNPORTAL-2825
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Reporter: Matt Wringe
When using Chrome (note: does not happen with Firefox) and with a custom skin, an NPE gets thrown due to a logical typo in UIMaskLayer.js
It is currently checking:
if (offsetParent && offset.left != 0 || offset.top != 0) {...}
When it should be checking:
if (offsetParent && (offset.left != 0 || offset.top != 0)) {...}
Without the change, an error occurs about not being able to read the value top from null.
--
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
More information about the gatein-issues
mailing list