mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Fix error Cannot read property 'decrypt_hover' of undefined
This commit is contained in:
parent
907b33454a
commit
6e2b956850
@ -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'));
|
jQuery(_et2.DOMContainer).on('clear', jQuery.proxy(function () { egw.css(this); }, '#' + nm.getDOMNode(nm).id + ' .et2_box.infoDes'));
|
||||||
// Enable decrypt on hover
|
// Enable decrypt on hover
|
||||||
if (this.egw.user('apps').stylite) {
|
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;
|
break;
|
||||||
case 'infolog.edit.print':
|
case 'infolog.edit.print':
|
||||||
|
@ -87,7 +87,7 @@ class InfologApp extends EgwApp
|
|||||||
// Enable decrypt on hover
|
// Enable decrypt on hover
|
||||||
if(this.egw.user('apps').stylite)
|
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;
|
break;
|
||||||
case 'infolog.edit.print':
|
case 'infolog.edit.print':
|
||||||
|
Loading…
Reference in New Issue
Block a user