[richfaces-issues] [JBoss JIRA] (RF-11665) Notify - IE8 does not support Array.indexOf(..)

Lukáš Fryč (Created) (JIRA) jira-events at lists.jboss.org
Wed Nov 9 09:24:46 EST 2011


Notify - IE8 does not support Array.indexOf(..)
-----------------------------------------------

                 Key: RF-11665
                 URL: https://issues.jboss.org/browse/RF-11665
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-validators
    Affects Versions: 4.1.0.CR1
            Reporter: Lukáš Fryč
            Assignee: Lukáš Fryč
             Fix For: 4.1.0.CR1


{code:title=notify.js:92}
var index = stack.notifications.indexOf(pnotify);
{code}

{{Array.indexOf}} is unsupported on IE <9 [1].

Use jQuery's {{$.inArray}} instead.

[1] https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf#Compatibility

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list