diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-05-31 20:06:40 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-05-31 20:06:40 +0200 |
commit | c49ee4d3e3d1a9597601243e4887b1d446047209 (patch) | |
tree | 38e644465c658f093605def43eaa5856ec8c4123 | |
parent | d636e168a6c043ddae730f7cdaaee772b1067793 (diff) | |
download | nextcloud-server-c49ee4d3e3d1a9597601243e4887b1d446047209.tar.gz nextcloud-server-c49ee4d3e3d1a9597601243e4887b1d446047209.zip |
LDAP: fix setting value of checkbox after loading configuration
-rw-r--r-- | apps/user_ldap/js/settings.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index f47d49cf222..52d5dbc48d9 100644 --- a/apps/user_ldap/js/settings.js +++ b/apps/user_ldap/js/settings.js @@ -14,7 +14,7 @@ var LdapConfiguration = { //deal with Checkboxes if($(elementID).is('input[type=checkbox]')) { - if(configvalue === 1) { + if(parseInt(configvalue) === 1) { $(elementID).attr('checked', 'checked'); } else { $(elementID).removeAttr('checked'); |