Commit bfe2766c25ee4aaa23a44b3bcbe59122fca52d5e
1 parent
d689434b
Exists in
master
and in
28 other branches
ActionItem1165: allow typing logins with a dot
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/application.js
@@ -43,7 +43,7 @@ function convToValidIdentifier( str, sep ) { | @@ -43,7 +43,7 @@ function convToValidIdentifier( str, sep ) { | ||
43 | .replace( /ú|ũ|ü/g, "u" ) | 43 | .replace( /ú|ũ|ü/g, "u" ) |
44 | .replace( /ñ/g, "n" ) | 44 | .replace( /ñ/g, "n" ) |
45 | .replace( /ç/g, "c" ) | 45 | .replace( /ç/g, "c" ) |
46 | - .replace( /[^-_a-z0-9]+/g, sep ) | 46 | + .replace( /[^-_a-z0-9.]+/g, sep ) |
47 | } | 47 | } |
48 | 48 | ||
49 | document.observe("dom:loaded", function() { | 49 | document.observe("dom:loaded", function() { |