mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
More fixes for scrutinizer-ci
This commit is contained in:
parent
c7e97b78d6
commit
59b32241bf
16 changed files with 116 additions and 191 deletions
|
|
@ -58,17 +58,13 @@ function NewOpenPgpKeyPopupView()
|
|||
|
||||
_.delay(function() {
|
||||
|
||||
var mPromise = false;
|
||||
|
||||
try {
|
||||
|
||||
mPromise = PgpStore.openpgp.generateKey({
|
||||
PgpStore.openpgp.generateKey({
|
||||
userIds: [oUserId],
|
||||
numBits: Utils.pInt(self.keyBitLength()),
|
||||
passphrase: Utils.trim(self.password())
|
||||
});
|
||||
|
||||
mPromise.then(function(mKeyPair) {
|
||||
}).then(function(mKeyPair) {
|
||||
|
||||
self.submitRequest(false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue