Enigma: add key icon to passphrase input on compose (#9894)

This commit is contained in:
Philip Weir
2025-06-15 06:54:53 +01:00
committed by GitHub
parent ded28db823
commit 0d43e74536

View File

@@ -587,8 +587,13 @@ rcube_webmail.prototype.enigma_password_request = function (data) {
myprompt = $('<div class="prompt">'),
myprompt_content = $('<p class="message">')
.appendTo(myprompt),
myprompt_input = $('<input>').attr({ type: 'password', size: 30, 'data-submit': 'true' })
.appendTo(myprompt);
myprompt_input = $('<input>').attr({ type: 'password', size: 30, 'data-submit': 'true' });
$('<div class="input-group">')
.append($('<span class="input-group-prepend">')
.append($('<i class="input-group-text icon key">')))
.append(myprompt_input)
.appendTo(myprompt);
data.key = data.keyid;
if (data.keyid.length > 8) {