mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Contacts: wrong name was set on initial load.
This commit is contained in:
parent
9678e4a2c0
commit
6646066aa8
@ -514,9 +514,9 @@ Contacts={
|
||||
if(this.honsuf.length > 0) {
|
||||
this.fullname += ', ' + this.honsuf;
|
||||
}
|
||||
$('#n').html(this.fullname);
|
||||
$('#n').val(narray.join(';'));
|
||||
$('#fn_select option').remove();
|
||||
var names = [this.fullname, this.givname + ' ' + this.famname, this.famname + ' ' + this.givname, this.famname + ', ' + this.givname];
|
||||
var names = [this.fn, this.fullname, this.givname + ' ' + this.famname, this.famname + ' ' + this.givname, this.famname + ', ' + this.givname];
|
||||
if(this.data.ORG) {
|
||||
names[names.length]=this.data.ORG[0].value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user