From e4a8456d0176555e2f27f21b64ac9cbab9ec940a Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 19 Apr 2016 15:13:37 +0200 Subject: replace $().attr('checked') by $().prop('checked', state) or $().is(':checked') --- apps/user_ldap/js/wizard/wizardTabGeneric.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/user_ldap') diff --git a/apps/user_ldap/js/wizard/wizardTabGeneric.js b/apps/user_ldap/js/wizard/wizardTabGeneric.js index 21085e3a584..4415172a18c 100644 --- a/apps/user_ldap/js/wizard/wizardTabGeneric.js +++ b/apps/user_ldap/js/wizard/wizardTabGeneric.js @@ -391,7 +391,7 @@ OCA = OCA || {}; */ _setCheckBox: function($element, value) { if(parseInt(value, 10) === 1) { - $element.attr('checked', 'checked'); + $element.prop('checked', 'checked'); } else { $element.removeAttr('checked'); } -- cgit v1.2.3