Skip to content

Commit f4c295e

Browse files
author
Richard Jones
committed
Make user utils JS work with firstname/lastname again [SF#868323]
1 parent eb3720e commit f4c295e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Fixed:
1818
- Handle no time.tzset under Windows (sf #1825643)
1919
- Work around race condition in file storage during transaction commit
2020
(sf #1883580)
21-
21+
- Make user utils JS work with firstname/lastname again (sf #1868323)
2222

2323
2007-11-09 1.4.1
2424
Fixed:

templates/classic/html/user_utils.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ function split_name(that) {
2929
case 'realname':
3030
realname=val
3131
break
32+
case 'firstname':
33+
case 'lastname':
34+
return
3235
default:
3336
alert('Ooops - unknown name field '+that.name+'!')
3437
return
@@ -38,7 +41,7 @@ function split_name(that) {
3841
function field_empty(name) {
3942
return the_form[name].value == ''
4043
}
41-
44+
4245
// no break statements - on purpose!
4346
switch (that.name) {
4447
case 'address':

0 commit comments

Comments
 (0)