Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-22 14:40:07 +0400
committerThomas Tanghus <thomas@tanghus.net>2012-08-22 14:40:35 +0400
commitac9fd79329ac695fdeba0f102647edb1320f3ea5 (patch)
treeb8726976362011b8fc9217b95978631070b36625 /apps/contacts
parent78b7e28ce064524564c221f6920d2724e49478fb (diff)
Email type list wasn't initialized.
Diffstat (limited to 'apps/contacts')
-rw-r--r--apps/contacts/js/contacts.js8
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() {