diff options
Diffstat (limited to 'keys.js')
| -rw-r--r-- | keys.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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() { |
