From 433baf945955f12da3c40c6c79f5b47f5a4f6c49 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 20 Aug 2015 16:14:06 +0000 Subject: [PATCH] Fix encrypted infolog shows on hover even if the mailvelope is not available --- infolog/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/js/app.js b/infolog/js/app.js index 8e3d341095..1c04fc79c0 100644 --- a/infolog/js/app.js +++ b/infolog/js/app.js @@ -63,7 +63,7 @@ app.classes.infolog = AppJS.extend( // Enable decrypt on hover if(this.egw.user('apps').stylite) { - this._get_stylite(function() {this.mailvelopeAvailable(app.stylite.decrypt_hover(nm));}); + this._get_stylite(function() {this.mailvelopeAvailable(function() {app.stylite.decrypt_hover(nm);})}); } break; case 'infolog.edit.print':