Define button classes for keys export dialog

pull/6175/head
Aleksander Machniak 6 years ago
parent 4c8736755f
commit 84ecae7a53

@ -229,6 +229,7 @@ rcube_webmail.prototype.enigma_export = function(selected)
this.get_label('enigma.keyexportprompt'),
this.get_label('enigma.exportkeys'),
[{
'class': 'export mainaction',
text: this.get_label('enigma.onlypubkeys'),
click: function(e) {
rcmail.enigma_export_submit(args);
@ -236,6 +237,7 @@ rcube_webmail.prototype.enigma_export = function(selected)
}
},
{
'class': 'export',
text: this.get_label('enigma.withprivkeys'),
click: function(e) {
args._priv = 1;

Loading…
Cancel
Save