From 08454fb951e098d753d3a5134cfe5a7187eacaed Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 3 Apr 2018 18:08:26 +0200 Subject: [PATCH] Add Close button to the keys export dialog --- plugins/enigma/enigma.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/enigma/enigma.js b/plugins/enigma/enigma.js index e7c06a5ad..86b21771c 100644 --- a/plugins/enigma/enigma.js +++ b/plugins/enigma/enigma.js @@ -245,8 +245,15 @@ rcube_webmail.prototype.enigma_export = function(selected) rcmail.enigma_export_submit(args); $(this).remove(); } + }, + { + 'class': 'cancel', + text: this.get_label('close'), + click: function(e) { + $(this).remove(); + } }], - {width: 400} + {width: 500} ); this.enigma_export_submit(args);