Fix encrypted infolog shows on hover even if the mailvelope is not available

This commit is contained in:
Hadi Nategh 2015-08-20 16:14:06 +00:00
parent f57b4580a5
commit 433baf9459

View File

@ -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':