Browse Source

LDAP: fix setting value of checkbox after loading configuration

tags/v6.0.0alpha2
Arthur Schiwon 11 years ago
parent
commit
c49ee4d3e3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/user_ldap/js/settings.js

+ 1
- 1
apps/user_ldap/js/settings.js View File

@@ -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');

Loading…
Cancel
Save