[richfaces-issues] [JBoss JIRA] (RF-13117) ExtendedDataTable Sorting resets $(window).resize Events

Brian Leathem (JIRA) jira-events at lists.jboss.org
Mon Aug 12 15:52:28 EDT 2013


     [ https://issues.jboss.org/browse/RF-13117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-13117:
-------------------------------

    Sprint: RichFaces 4.3.4 Sprint 1

    
> ExtendedDataTable Sorting resets $(window).resize Events
> --------------------------------------------------------
>
>                 Key: RF-13117
>                 URL: https://issues.jboss.org/browse/RF-13117
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.3.3
>         Environment: Tomcat 7
> JBoss 7.1
>            Reporter: Thomas Zuberbuehler
>            Priority: Critical
>              Labels: regression
>             Fix For: 4.3.4
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> Sorting removes other resize events.
> At some point following code is called:
> {code}
> // extendedDataTable.js
> deActivateResizeListener: function() {
>   $(window).off(this.resizeEventName);
> }
> {code}
> Notice that this.resizeEventName is undefined.
> Before code is invoked (Chrome JavaScript console)
> {code}
> $._data(window,'events').resize
> [Object, Object]
> {code}
> After invoking
> {code}
> $._data(window,'events').resize
> TypeError: Cannot read property 'resize' of undefined
> {code}
> http://stackoverflow.com/questions/18045891/how-to-check-if-onresize-method-is-set

--
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