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

Contacts: self -> this

This commit is contained in:
Thomas Tanghus 2012-12-20 22:58:46 +01:00
parent 3235ff3620
commit b2de5cb380

View File

@ -1818,7 +1818,7 @@ OC.Contacts = OC.Contacts || {
},
setAllChecked: function(checked) {
var selector = checked ? 'input:checkbox:visible:not(checked)' : 'input:checkbox:visible:checked';
$.each(self.$contactList.find(selector), function() {
$.each(this.$contactList.find(selector), function() {
$(this).prop('checked', checked);
});
},