mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Contacts: Add Organisation as Name property choice
This commit is contained in:
parent
9ccf46d350
commit
46aa011ef9
1 changed files with 3 additions and 0 deletions
|
|
@ -448,6 +448,9 @@ Contacts={
|
|||
$('#fn_select option').remove();
|
||||
$('#fn_select').combobox('value', this.fn);
|
||||
var names = [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;
|
||||
}
|
||||
$.each(names, function(key, value) {
|
||||
$('#fn_select')
|
||||
.append($('<option></option>')
|
||||
|
|
|
|||
Loading…
Reference in a new issue