OpenPGP (Compose) (#53) UNSTABLE

This commit is contained in:
RainLoop Team 2014-03-21 03:47:13 +04:00
parent b330f77bc0
commit 1c4ce1dfb2
14 changed files with 631 additions and 321 deletions

View file

@ -362,9 +362,12 @@ PopupsComposeViewModel.prototype.openOpenPgpPopup = function ()
{
if (this.allowOpenPGP() && this.oEditor && !this.oEditor.isHtml())
{
var self = this;
kn.showScreenPopup(PopupsComposeOpenPgpViewModel, [
function () {
function (sResult) {
self.editor(function (oEditor) {
oEditor.setPlain(sResult);
});
},
this.oEditor.getData(),
this.currentIdentityResultEmail(),