Added license type Asc.c_oLicenseResult.ExpiredTrial.
This commit is contained in:
parent
7dc8c7534b
commit
1c5cfdb400
|
@ -922,7 +922,7 @@ define([
|
|||
|
||||
onEditorPermissions: function(params) {
|
||||
var licType = params.asc_getLicenseType();
|
||||
if (Asc.c_oLicenseResult.Expired === licType || Asc.c_oLicenseResult.Error === licType) {
|
||||
if (Asc.c_oLicenseResult.Expired === licType || Asc.c_oLicenseResult.Error === licType || Asc.c_oLicenseResult.ExpiredTrial === licType) {
|
||||
Common.UI.warning({
|
||||
title: this.titleLicenseExp,
|
||||
msg: this.warnLicenseExp,
|
||||
|
|
|
@ -713,7 +713,7 @@ define([
|
|||
|
||||
onEditorPermissions: function(params) {
|
||||
var licType = params.asc_getLicenseType();
|
||||
if (Asc.c_oLicenseResult.Expired === licType || Asc.c_oLicenseResult.Error === licType) {
|
||||
if (Asc.c_oLicenseResult.Expired === licType || Asc.c_oLicenseResult.Error === licType || Asc.c_oLicenseResult.ExpiredTrial === licType) {
|
||||
Common.UI.warning({
|
||||
title: this.titleLicenseExp,
|
||||
msg: this.warnLicenseExp,
|
||||
|
|
|
@ -736,7 +736,7 @@ define([
|
|||
var licType = params ? params.asc_getLicenseType() : Asc.c_oLicenseResult.Error;
|
||||
|
||||
if ( params && !(this.appOptions.isEditDiagram || this.appOptions.isEditMailMerge)) {
|
||||
if (Asc.c_oLicenseResult.Expired === licType || Asc.c_oLicenseResult.Error === licType) {
|
||||
if (Asc.c_oLicenseResult.Expired === licType || Asc.c_oLicenseResult.Error === licType || Asc.c_oLicenseResult.ExpiredTrial === licType) {
|
||||
Common.UI.warning({
|
||||
title: this.titleLicenseExp,
|
||||
msg: this.warnLicenseExp,
|
||||
|
|
Loading…
Reference in a new issue