[richfaces-issues] [JBoss JIRA] (RF-13374) RichFaces push registered as $.fn.push overrides jQuery function

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Thu Nov 21 17:11:06 EST 2013


Lukáš Fryč created RF-13374:
-------------------------------

             Summary: RichFaces push registered as $.fn.push overrides jQuery function
                 Key: RF-13374
                 URL: https://issues.jboss.org/browse/RF-13374
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-push/poll
    Affects Versions: 5.0.0.Alpha2
            Reporter: Lukáš Fryč
            Priority: Blocker
             Fix For: 5.0.0.Alpha2


The real cause of an issue mentioned in RF-13359 isn't an invalid implementation of _destroy method (RF-13371), but rather conflict caused by registering $.fn.push function.

The solution is to rename that jQuery function, e.g. {{$.fn.richfacespush}} or namespace it in other way (e.g. {{$.fn.rf.push}} - question is how it would be called then). Let's investigate further how we can namespace our jQuery plugins.

--
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 richfaces-issues mailing list