Added Google Viewer Integration (Preview Microsoft Word, Excel and PowerPoint files)

This commit is contained in:
RainLoop Team 2014-10-31 00:09:53 +04:00
parent 1638b55411
commit 139f412b6a
15 changed files with 254 additions and 42 deletions

View file

@ -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
*/