1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Merge branch 'master' of github.com:owncloud/apps into vcategories_db

This commit is contained in:
Thomas Tanghus 2012-09-13 18:17:58 +02:00
commit b0b25c043d
2 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,6 @@ if(!$value) {
}
break;
default:
debug('Setting string:'.$name.' '.$value);
$vcard->setString($name, $value);
break;
}

View File

@ -425,6 +425,8 @@ OC.Contacts={
if(jsondata.status == 'success'){
OC.Contacts.Card.loadContact(jsondata.data, aid);
var item = OC.Contacts.Contacts.insertContact({data:jsondata.data});
$('#contacts li').removeClass('active');
item.addClass('active');
if(isnew) { // add some default properties
OC.Contacts.Card.addProperty('EMAIL');
OC.Contacts.Card.addProperty('TEL');