diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-22 14:40:07 +0400 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-22 14:40:35 +0400 |
commit | ac9fd79329ac695fdeba0f102647edb1320f3ea5 (patch) | |
tree | b8726976362011b8fc9217b95978631070b36625 /apps/contacts | |
parent | 78b7e28ce064524564c221f6920d2724e49478fb (diff) |
Email type list wasn't initialized.
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/js/contacts.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index f270cee4219..033c62b1363 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -1290,12 +1290,18 @@ OC.Contacts={ OC.Contacts.Contacts.refreshThumbnail(this.id); }, addMail:function() { - //alert('addMail'); + console.log('addMail'); var emaillist = $('#emaillist'); emaillist.find('li.template:first-child').clone(true).appendTo(emaillist).show().find('a .tip').tipsy(); emaillist.find('li.template:last-child').find('select').addClass('contacts_property'); emaillist.find('li.template:last-child').removeClass('template').addClass('propertycontainer'); emaillist.find('li:last-child').find('input[type="email"]').focus(); + emaillist.find('li:last-child').find('select').multiselect({ + noneSelectedText: t('contacts', 'Select type'), + header: false, + selectedList: 4, + classes: 'typelist' + }); return false; }, loadMails:function() { |