diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-17 16:46:07 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-17 16:46:39 +0200 |
commit | b9cd0ecc8a03a58219134113cbfb4aef80788417 (patch) | |
tree | 1113bf98ec83151355b6ecaa27a2f5651707dfa3 /apps/contacts/js/contacts.js | |
parent | cf181e88bb984f728c77ad01dcbcf87f2cc4aa7a (diff) | |
download | nextcloud-server-b9cd0ecc8a03a58219134113cbfb4aef80788417.tar.gz nextcloud-server-b9cd0ecc8a03a58219134113cbfb4aef80788417.zip |
Contacts: wrong name was set on initial load.
Diffstat (limited to 'apps/contacts/js/contacts.js')
-rw-r--r-- | apps/contacts/js/contacts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index d60d523542e..256b5ad6d0a 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -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; } |