Mailvelope backup/restore integration WIP:

- Add mailvelope installation dialog for mail and infolog
This commit is contained in:
Hadi Nategh 2015-09-15 16:42:52 +00:00
parent cd7324983b
commit 4479cf64c5

View File

@ -4680,9 +4680,7 @@ app.classes.mail = AppJS.extend(
{ {
if (typeof mailvelope == 'undefined') if (typeof mailvelope == 'undefined')
{ {
this.egw.message(this.egw.lang('You need to install Mailvelope plugin available for Chrome and Firefox from %1.','<a href="https://www.mailvelope.com/">mailvelope.com</a>')+"\n"+ this.mailvelopeInstallationOffer();
this.egw.lang('Add your domain as "%1" in options to list of email providers and enable API.',
'*.'+this._mailvelopeDomain()), 'info');
// switch encrypt button off again // switch encrypt button off again
this.et2.getWidgetById('composeToolbar')._actionManager.getActionById('pgp').set_checked(false); this.et2.getWidgetById('composeToolbar')._actionManager.getActionById('pgp').set_checked(false);
jQuery('button#composeToolbar-pgp').toggleClass('toolbar_toggled'); jQuery('button#composeToolbar-pgp').toggleClass('toolbar_toggled');