Commit 1c5cfdb4 authored by Julia Radzhabova's avatar Julia Radzhabova

Added license type Asc.c_oLicenseResult.ExpiredTrial.

parent 7dc8c753
...@@ -922,7 +922,7 @@ define([ ...@@ -922,7 +922,7 @@ define([
onEditorPermissions: function(params) { onEditorPermissions: function(params) {
var licType = params.asc_getLicenseType(); 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({ Common.UI.warning({
title: this.titleLicenseExp, title: this.titleLicenseExp,
msg: this.warnLicenseExp, msg: this.warnLicenseExp,
......
...@@ -713,7 +713,7 @@ define([ ...@@ -713,7 +713,7 @@ define([
onEditorPermissions: function(params) { onEditorPermissions: function(params) {
var licType = params.asc_getLicenseType(); 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({ Common.UI.warning({
title: this.titleLicenseExp, title: this.titleLicenseExp,
msg: this.warnLicenseExp, msg: this.warnLicenseExp,
......
...@@ -736,7 +736,7 @@ define([ ...@@ -736,7 +736,7 @@ define([
var licType = params ? params.asc_getLicenseType() : Asc.c_oLicenseResult.Error; var licType = params ? params.asc_getLicenseType() : Asc.c_oLicenseResult.Error;
if ( params && !(this.appOptions.isEditDiagram || this.appOptions.isEditMailMerge)) { 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({ Common.UI.warning({
title: this.titleLicenseExp, title: this.titleLicenseExp,
msg: this.warnLicenseExp, msg: this.warnLicenseExp,
......
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