[
https://issues.jboss.org/browse/RF-12583?page=com.atlassian.jira.plugin.s...
]
RH Bugzilla Integration commented on RF-12583:
----------------------------------------------
Karel Piwko <kpiwko(a)redhat.com> made a comment on [bug
822215|https://bugzilla.redhat.com/show_bug.cgi?id=822215]
Distributed as a part of WFK 2.1.0.GA release.
Typo in the makePatternAMatch CSV javascript function
-----------------------------------------------------
Key: RF-12583
URL:
https://issues.jboss.org/browse/RF-12583
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.1.0.Milestone4
Reporter: Brian Leathem
Assignee: Brian Leathem
Fix For: 4.2.4, 4.3.0.M3
The _makePatternAMatch_ function was introduced in resolution to RF-11531. however that
method has a typo in it. See the extra ";" in the second _pattern_ assignment.
{code}
var makePatternAMatch = function(pattern) {
if (! (pattern.slice(0, 1) === '^') ) {
pattern = '^' + pattern;
}
if (! (pattern.slice(-1) === '$') ) {
pattern = pattern; + '$';
}
return pattern;
}
{code}
--
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