diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-03-05 22:03:33 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-03-07 21:46:41 +0100 |
commit | 46aa011ef90c02098ddfa75a93fe9bf2759b622a (patch) | |
tree | cedbed7f018cb17c15e24ee16f50fda324fdd0b4 /apps/contacts | |
parent | 9ccf46d350f2a17ae8234a348ec668e1f06fd9ec (diff) | |
download | nextcloud-server-46aa011ef90c02098ddfa75a93fe9bf2759b622a.tar.gz nextcloud-server-46aa011ef90c02098ddfa75a93fe9bf2759b622a.zip |
Contacts: Add Organisation as Name property choice
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/js/contacts.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 60ee8b9e56c..94876f5cd09 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -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>') |