Mercurial > p > roundup > code
changeset 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 | bc412bb2ccd3 |
| children | 41d297d7dcec |
| files | CHANGES.txt templates/classic/html/user_utils.js |
| diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Thu Feb 07 00:57:59 2008 +0000 +++ b/CHANGES.txt Thu Feb 07 01:01:01 2008 +0000 @@ -18,7 +18,7 @@ - Handle no time.tzset under Windows (sf #1825643) - Work around race condition in file storage during transaction commit (sf #1883580) - +- Make user utils JS work with firstname/lastname again (sf #1868323) 2007-11-09 1.4.1 Fixed:
--- 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':
