mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Don't disable displayname when adding adressbook.
This commit is contained in:
parent
d261bb9a90
commit
e0f9ed99d3
@ -49,7 +49,7 @@ OC.Contacts.Settings = OC.Contacts.Settings || {
|
||||
console.log('doEdit: ', id);
|
||||
var owner = this.adrsettings.find('[data-id="'+id+'"]').data('owner');
|
||||
var actions = ['description', 'save', 'cancel'];
|
||||
if(owner == OC.currentUser) {
|
||||
if(owner == OC.currentUser || id === 'new') {
|
||||
actions.push('active', 'name');
|
||||
}
|
||||
this.showActions(actions);
|
||||
|
Loading…
Reference in New Issue
Block a user