]
RH Bugzilla Integration updated RF-12583:
-----------------------------------------
Bugzilla Update: Perform
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: