[
https://issues.jboss.org/browse/RF-13117?page=com.atlassian.jira.plugin.s...
]
Thomas Zuberbuehler updated RF-13117:
-------------------------------------
Description:
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-meth...
was:
Sorting removes other resize events.
http://stackoverflow.com/questions/18045891/how-to-check-if-onresize-meth...
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
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-meth...
--
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