Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
11.1
-
Trivial
-
N/A
-
Minor unnoticeable change
-
Pull Request accepted
-
Description
The JavaScript function "prepareName" in "xwiki.js" contains the code below:
fname.replace(/ /g,""); [...] lname.replace(/ /g,""); [...] cxwikiname.value = noaccent(fname + lname)
The XWiki function "noaccent" actually already remove space characters in its current implementation, hence no additional replacement is needed (and the values returned by the calls to "replace" are actually not updating any variable in any case).