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:
commit
b0b25c043d
@ -153,7 +153,6 @@ if(!$value) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
debug('Setting string:'.$name.' '.$value);
|
||||
$vcard->setString($name, $value);
|
||||
break;
|
||||
}
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user