Fix license warning
This commit is contained in:
parent
8d6d66891a
commit
9ff8b33390
|
@ -1033,7 +1033,6 @@ define([
|
|||
value = (value!==null) ? parseInt(value) : 0;
|
||||
var now = (new Date).getTime();
|
||||
if (now - value > 86400000) {
|
||||
Common.localStorage.setItem("de-license-warning", now);
|
||||
Common.UI.info({
|
||||
width: 500,
|
||||
title: this.textNoLicenseTitle,
|
||||
|
@ -1041,6 +1040,7 @@ define([
|
|||
buttons: buttons,
|
||||
primary: primary,
|
||||
callback: function(btn) {
|
||||
Common.localStorage.setItem("de-license-warning", now);
|
||||
if (btn == 'buynow')
|
||||
window.open('https://www.onlyoffice.com', "_blank");
|
||||
else if (btn == 'contact')
|
||||
|
|
|
@ -794,7 +794,6 @@ define([
|
|||
value = (value!==null) ? parseInt(value) : 0;
|
||||
var now = (new Date).getTime();
|
||||
if (now - value > 86400000) {
|
||||
Common.localStorage.setItem("pe-license-warning", now);
|
||||
Common.UI.info({
|
||||
width: 500,
|
||||
title: this.textNoLicenseTitle,
|
||||
|
@ -802,6 +801,7 @@ define([
|
|||
buttons: buttons,
|
||||
primary: primary,
|
||||
callback: function(btn) {
|
||||
Common.localStorage.setItem("pe-license-warning", now);
|
||||
if (btn == 'buynow')
|
||||
window.open('https://www.onlyoffice.com', "_blank");
|
||||
else if (btn == 'contact')
|
||||
|
|
|
@ -825,7 +825,6 @@ define([
|
|||
value = (value!==null) ? parseInt(value) : 0;
|
||||
var now = (new Date).getTime();
|
||||
if (now - value > 86400000) {
|
||||
Common.localStorage.setItem("sse-license-warning", now);
|
||||
Common.UI.info({
|
||||
width: 500,
|
||||
title: this.textNoLicenseTitle,
|
||||
|
@ -833,6 +832,7 @@ define([
|
|||
buttons: buttons,
|
||||
primary: primary,
|
||||
callback: function(btn) {
|
||||
Common.localStorage.setItem("sse-license-warning", now);
|
||||
if (btn == 'buynow')
|
||||
window.open('https://www.onlyoffice.com', "_blank");
|
||||
else if (btn == 'contact')
|
||||
|
|
Loading…
Reference in a new issue