diff --git a/dev/View/Popup/OpenPgpImport.js b/dev/View/Popup/OpenPgpImport.js index 55f886782..79a43ac54 100644 --- a/dev/View/Popup/OpenPgpImport.js +++ b/dev/View/Popup/OpenPgpImport.js @@ -1,6 +1,5 @@ import { PgpUserStore } from 'Stores/User/Pgp'; -import { decorateKoCommands } from 'Knoin/Knoin'; import { AbstractViewPopup } from 'Knoin/AbstractViews'; import { Capa } from 'Common/Enums'; @@ -25,13 +24,9 @@ export class OpenPgpImportPopupView extends AbstractViewPopup { this.keyError(false); this.keyErrorMessage(''); }); - - decorateKoCommands(this, { - addOpenPgpKeyCommand: 1 - }); } - addOpenPgpKeyCommand() { + submitForm() { let keyTrimmed = this.key().trim(); if (/\n/.test(keyTrimmed)) { diff --git a/snappymail/v/0.0.0/app/templates/Views/User/PopupsOpenPgpGenerate.html b/snappymail/v/0.0.0/app/templates/Views/User/PopupsOpenPgpGenerate.html index c9ab6760d..496a4df2b 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/PopupsOpenPgpGenerate.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/PopupsOpenPgpGenerate.html @@ -40,10 +40,11 @@
+