Elastic: Fix checkbox state in advanced mode switch

pull/6040/head
Aleksander Machniak 7 years ago
parent b1d79900ed
commit 1109cd1150

@ -30,7 +30,7 @@ if (window.rcmail) {
rcmail.enable_command('acl-delete', 'acl-edit', false); rcmail.enable_command('acl-delete', 'acl-edit', false);
if (rcmail.env.acl_advanced) if (rcmail.env.acl_advanced)
$('#acl-switch').addClass('selected'); $('#acl-switch').addClass('selected').find('input').prop('checked', true);
}); });
} }

Loading…
Cancel
Save