mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Fixed 'select all' checkbox
This commit is contained in:
parent
a1754bac95
commit
fbf9a55467
@ -810,9 +810,9 @@ OC.Contacts = OC.Contacts || {
|
||||
}
|
||||
});
|
||||
|
||||
this.$contactList.on('click', 'label', function(event) {
|
||||
var id = '#' + $(this).attr('for');
|
||||
$(id).prop('checked', !$(id).prop('checked'));
|
||||
this.$contactList.on('click', 'label:not[for=select_all]', function(event) {
|
||||
var $input = $(this).prev('input');
|
||||
$input.prop('checked', !$input.prop('checked'));
|
||||
return false; // Prevent opening contact
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user