1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Contacts: Don't remove controls on group action on single contact.

This commit is contained in:
Thomas Tanghus 2012-11-24 01:40:29 +01:00
parent 77f9aef03f
commit a81fdac4f2

View File

@ -1019,7 +1019,9 @@ OC.Contacts = OC.Contacts || {
self.setAllChecked(false);
self.$toggleAll.prop('checked', false);
self.showActions(['addcontact']);
if(!self.currentid) {
self.showActions(['addcontact']);
}
if($opt.val() === 'add') { // Add new group
action = 'add';