mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Merge branch 'master' of github.com:owncloud/apps into contacts_rework
This commit is contained in:
commit
2fc7f0f12c
@ -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…
x
Reference in New Issue
Block a user