Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
1c5cfdb4
Commit
1c5cfdb4
authored
Aug 30, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added license type Asc.c_oLicenseResult.ExpiredTrial.
parent
7dc8c753
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+1
-1
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+1
-1
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+1
-1
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
1c5cfdb4
...
@@ -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
,
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
1c5cfdb4
...
@@ -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
,
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
1c5cfdb4
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment