summaryrefslogtreecommitdiff
path: root/keys.js
diff options
context:
space:
mode:
Diffstat (limited to 'keys.js')
-rw-r--r--keys.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/keys.js b/keys.js
index a596199..72ad6f9 100644
--- a/keys.js
+++ b/keys.js
@@ -13,7 +13,7 @@ window.rcmail && window.rcmail.addEventListener('init', function() {
.focus();
}
- rcmail.register_command('plugin.inbox_keys_generate', () => rcmail.inbox_keys_generate(), true);
+ rcmail.register_command('plugin.inbox_keys_generate', () => rcmail.inbox_keys_generate(), false);
rcmail.register_command('plugin.inbox_keys_import', () => rcmail.inbox_keys_import(), true);
rcmail.register_command('plugin.inbox_keys_delete', () => rcmail.inbox_keys_delete(), false);
}
@@ -24,7 +24,8 @@ rcube_webmail.prototype.inbox_keys_select = function(list) {
};
rcube_webmail.prototype.inbox_keys_generate = function() {
- this.goto_url('plugin.inbox_keys_generate');
+ // TODO: generate the key client-side and post it to the import endpoint,
+ // TODO: then redirect the client to download the generated private key
};
rcube_webmail.prototype.inbox_keys_import = function() {