Mercurial > p > roundup > code
diff templates/classic/html/user_utils.js @ 3961:3eb45e7f0d57
Make user utils JS work with firstname/lastname again [SF#868323]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 07 Feb 2008 01:01:01 +0000 |
| parents | 18def94e5150 |
| children |
line wrap: on
line diff
--- a/templates/classic/html/user_utils.js Thu Feb 07 00:57:59 2008 +0000 +++ b/templates/classic/html/user_utils.js Thu Feb 07 01:01:01 2008 +0000 @@ -29,6 +29,9 @@ case 'realname': realname=val break + case 'firstname': + case 'lastname': + return default: alert('Ooops - unknown name field '+that.name+'!') return @@ -38,7 +41,7 @@ function field_empty(name) { return the_form[name].value == '' } - + // no break statements - on purpose! switch (that.name) { case 'address':
