Listen to identity-encryption-* events to update UI styles

pull/5742/merge
Thomas Bruederli 7 years ago
parent 17d3ad4ecc
commit 1a2a2d2cb2

@ -587,6 +587,14 @@ function rcube_elastic_ui()
});
}
}
else if (rcmail.task == 'settings') {
rcmail.addEventListener('identity-encryption-show', function(p) {
bootstrap_style(p.container);
});
rcmail.addEventListener('identity-encryption-update', function(p) {
bootstrap_style(p.container);
});
}
rcmail.env.thread_padding = '1.5rem';

Loading…
Cancel
Save