diff options
| author | Carson Fleming <[email protected]> | 2024-12-31 18:47:28 -0800 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2024-12-31 18:47:28 -0800 |
| commit | 389139c1749904477a22644248ba25f46485827e (patch) | |
| tree | e978295357261ee2256ff167c0908cb3a874a0d4 /keys.js | |
| parent | 27cfb2476d94f93bbb1839d179f473bf0e5ef9ec (diff) | |
| download | rc-inbox-settings-389139c1749904477a22644248ba25f46485827e.tar.gz | |
skeleton of the final vision
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() { |
