Commit f506cdc6 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

новая схема лицензирования

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68708 954022d7-b5bf-4e40-9824-e11837661b57
parent 38110116
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5,6 +5,17 @@ function CheckLicense(licenseUrl, customerId, userId, userFirstName, userLastNam
callback(true, g_oLicenseResult.Success);
}
baseEditorsApi.prototype._onEndPermissions = function()
{
if (this.isOnFirstConnectEnd && this.isOnLoadLicense)
{
var oResult = new window['Asc'].asc_CAscEditorPermissions();
oResult.asc_setCanLicense(true);
oResult.asc_setCanBranding(true);
this.sendEvent('asc_onGetEditorPermissions', oResult);
}
};
/////////////////////////////////////////////////////////
////////////// FONTS ////////////////////////
/////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment