[Web] Some fido2 fixes, table view for fido2 keys, fix renaming keys with the same subject

This commit is contained in:
andryyy
2020-11-17 13:38:28 +01:00
parent 2aee906704
commit 4a355f242f
8 changed files with 108 additions and 81 deletions

View File

@@ -296,6 +296,15 @@ jQuery(function($){
draw_wl_policy_mailbox_table();
draw_bl_policy_mailbox_table();
// FIDO2 friendly name modal
$('#fido2ChangeFn').on('show.bs.modal', function (e) {
rename_link = $(e.relatedTarget)
if (rename_link != null) {
$('#fido2_cid').val(rename_link.data('cid'));
$('#fido2_subject_desc').text(Base64.decode(rename_link.data('subject')));
}
})
// Sieve data modal
$('#userFilterModal').on('show.bs.modal', function(e) {
$('#user_sieve_filter').text(lang.loading);