[
https://issues.jboss.org/browse/RF-12167?page=com.atlassian.jira.plugin.s...
]
Benoit VI updated RF-12167:
---------------------------
Description:
I noticed a typo error in onbeforeselectionchange javascript method :
There is two "=" instead of "!=" in the second expression, and so
it's always false !
onbeforeselectionchange: function (event) {
return !this.options.onbeforeselectionchange ||
this.options.onbeforeselectionchange.call(this.element, event) !== false;
}
Thanks by advance for fixing this little error.
was:
I noticed a typo error in onbeforeselectionchange javascript method :
There is an "!==" insted of "!=" in the second expression, and so
it's always false !
onbeforeselectionchange: function (event) {
return !this.options.onbeforeselectionchange ||
this.options.onbeforeselectionchange.call(this.element, event) !== false;
}
Thanks by advance for fixing this little error.
rich:extendedDatatable - onbeforeselectionchange is wrongly
evaluated
---------------------------------------------------------------------
Key: RF-12167
URL:
https://issues.jboss.org/browse/RF-12167
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Final
Reporter: Benoit VI
I noticed a typo error in onbeforeselectionchange javascript method :
There is two "=" instead of "!=" in the second expression, and so
it's always false !
onbeforeselectionchange: function (event) {
return !this.options.onbeforeselectionchange ||
this.options.onbeforeselectionchange.call(this.element, event) !== false;
}
Thanks by advance for fixing this little error.
--
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