diff --git a/infolog/js/app.js b/infolog/js/app.js index 3900ec09d9..ff36f22b74 100644 --- a/infolog/js/app.js +++ b/infolog/js/app.js @@ -86,7 +86,7 @@ var InfologApp = /** @class */ (function (_super) { jQuery(_et2.DOMContainer).on('clear', jQuery.proxy(function () { egw.css(this); }, '#' + nm.getDOMNode(nm).id + ' .et2_box.infoDes')); // Enable decrypt on hover if (this.egw.user('apps').stylite) { - this._get_stylite(function () { this.mailvelopeAvailable(function () { app.stylite.decrypt_hover(nm); }); }); + this._get_stylite(function () { this.mailvelopeAvailable(function () { var _a; (_a = app.stylite) === null || _a === void 0 ? void 0 : _a.decrypt_hover(nm); }); }); } break; case 'infolog.edit.print': diff --git a/infolog/js/app.ts b/infolog/js/app.ts index 2f936f4f6d..3e238a7e8b 100644 --- a/infolog/js/app.ts +++ b/infolog/js/app.ts @@ -87,7 +87,7 @@ class InfologApp extends EgwApp // Enable decrypt on hover if(this.egw.user('apps').stylite) { - this._get_stylite(function() {this.mailvelopeAvailable(function() {app.stylite.decrypt_hover(nm);});}); + this._get_stylite(function() {this.mailvelopeAvailable(function() {app.stylite?.decrypt_hover(nm);});}); } break; case 'infolog.edit.print':