1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Fixed toggeling checkbox on click label

This commit is contained in:
jbtbnl 2014-01-23 13:16:08 +01:00
parent 54d79ae751
commit 859bdde08d

View File

@ -811,8 +811,8 @@ OC.Contacts = OC.Contacts || {
});
this.$contactList.on('click', 'label', function(event) {
var id = $(this).attr('for');
$(id).prop('checked', !checkBoxes.prop('checked'));
var id = '#' + $(this).attr('for');
$(id).prop('checked', !$(id).prop('checked'));
return false; // Prevent opening contact
});