mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
More scrict rules
This commit is contained in:
parent
71b6407d61
commit
fb2e492ce8
30 changed files with 126 additions and 89 deletions
|
|
@ -3,6 +3,7 @@ var
|
|||
_ = require('_'),
|
||||
ko = require('ko'),
|
||||
|
||||
Enums = require('Common/Enums'),
|
||||
Utils = require('Common/Utils'),
|
||||
|
||||
PgpStore = require('Stores/User/Pgp'),
|
||||
|
|
@ -24,7 +25,7 @@ function NewOpenPgpKeyPopupView()
|
|||
|
||||
this.name = ko.observable('');
|
||||
this.password = ko.observable('');
|
||||
this.keyBitLength = ko.observable(2048);
|
||||
this.keyBitLength = ko.observable(Enums.Magics.BitLength2048);
|
||||
|
||||
this.submitRequest = ko.observable(false);
|
||||
|
||||
|
|
@ -90,7 +91,7 @@ function NewOpenPgpKeyPopupView()
|
|||
self.submitRequest(false);
|
||||
}
|
||||
|
||||
}, 100);
|
||||
}, Enums.Magics.Time100ms);
|
||||
|
||||
return true;
|
||||
});
|
||||
|
|
@ -108,7 +109,7 @@ NewOpenPgpKeyPopupView.prototype.clearPopup = function()
|
|||
|
||||
this.email('');
|
||||
this.email.error(false);
|
||||
this.keyBitLength(2048);
|
||||
this.keyBitLength(Enums.Magics.BitLength2048);
|
||||
};
|
||||
|
||||
NewOpenPgpKeyPopupView.prototype.onShow = function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue