mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Added Google Viewer Integration (Preview Microsoft Word, Excel and PowerPoint files)
This commit is contained in:
parent
1638b55411
commit
139f412b6a
15 changed files with 254 additions and 42 deletions
|
|
@ -117,6 +117,22 @@
|
|||
return true;
|
||||
};
|
||||
|
||||
AbstractApp.prototype.googlePreviewSupportedCache = null;
|
||||
|
||||
/**
|
||||
* @return {boolean}
|
||||
*/
|
||||
AbstractApp.prototype.googlePreviewSupported = function ()
|
||||
{
|
||||
if (null === this.googlePreviewSupportedCache)
|
||||
{
|
||||
this.googlePreviewSupportedCache = !!Settings.settingsGet('AllowGoogleSocial') &&
|
||||
!!Settings.settingsGet('AllowGoogleSocialPreview');
|
||||
}
|
||||
|
||||
return this.googlePreviewSupportedCache;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} sTitle
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue