1
0
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:
jbtbnl 2014-01-23 20:53:12 +01:00
parent a1754bac95
commit fbf9a55467

View File

@ -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
});