miroir de
https://github.com/nextcloud/server.git
synchronisé 2024-07-31 08:15:55 +02:00
LDAP: fix setting value of checkbox after loading configuration
Cette révision appartient à :
Parent
d636e168a6
révision
c49ee4d3e3
@ -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');
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user