[Web] Add quick toggle for imap/pop3/smtp access; small rework of buttons on /mailbox; Minor fixes and changes

This commit is contained in:
andryyy
2020-09-18 15:53:01 +02:00
parent c2deb454de
commit c54fa76beb
7 changed files with 78 additions and 6 deletions

View File

@@ -148,9 +148,10 @@ $(document).ready(function() {
});
}
if ($(this).is("select")) {
$(this).prop('disabled', true);
$(this).append('<option value="acl-disabled" selected="selected">(' + lang_acl.prohibited + ')</option>');
$(this).selectpicker('refresh');
$(this).selectpicker('destroy');
$(this).replaceWith(function() {
return '<label class="control-label"><b>' + this.innerText + '</b></label>';
});
}
if ($(this).hasClass('btn-group')) {
$(this).find('a').each(function(){