aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js/wizard
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-19 15:13:37 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-04-19 16:20:17 +0200
commite4a8456d0176555e2f27f21b64ac9cbab9ec940a (patch)
tree4d972427340d1533a9ceb4cae5292ebd6d93f06c /apps/user_ldap/js/wizard
parent05d203a989721f3e456ba516ef07be3fd72f460b (diff)
downloadnextcloud-server-e4a8456d0176555e2f27f21b64ac9cbab9ec940a.tar.gz
nextcloud-server-e4a8456d0176555e2f27f21b64ac9cbab9ec940a.zip
replace $().attr('checked') by $().prop('checked', state) or $().is(':checked')
Diffstat (limited to 'apps/user_ldap/js/wizard')
-rw-r--r--apps/user_ldap/js/wizard/wizardTabGeneric.js2
1 files changed, 1 insertions, 1 deletions
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');
}