@ -1172,6 +1172,14 @@ define([
return button;
};
$(window.document).on('decryption', function (e) {
var decrypted = e.originalEvent;
if (decrypted.callback) {
var cb = decrypted.callback;
decrypted.callback = undefined;
cb();
}
});
common.avatarAllowedTypes = [
'image/png',
'image/jpeg',
@ -171,11 +171,6 @@ define([
if (decrypted.callback) { decrypted.callback(); }
return DiffMd;
@ -91,7 +91,11 @@ define([
console.log(decrypted);
$dlview.show();