Remove warning when open protected files (saving files with password implemented for online files)

This commit is contained in:
Julia Radzhabova 2021-01-20 19:32:42 +03:00
parent 70b6a5b3cb
commit 3e6090ca71
3 changed files with 3 additions and 3 deletions

View file

@ -2142,7 +2142,7 @@ define([
title: Common.Views.OpenDialog.prototype.txtTitleProtected,
closeFile: me.appOptions.canRequestClose,
type: Common.Utils.importTextType.DRM,
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline),
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline) && (typeof advOptions == 'string'),
warningMsg: advOptions,
validatePwd: !!me._state.isDRM,
handler: function (result, value) {

View file

@ -1948,7 +1948,7 @@ define([
title: Common.Views.OpenDialog.prototype.txtTitleProtected,
closeFile: me.appOptions.canRequestClose,
type: Common.Utils.importTextType.DRM,
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline),
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline) && (typeof advOptions == 'string'),
warningMsg: advOptions,
validatePwd: !!me._state.isDRM,
handler: function (result, value) {

View file

@ -1873,7 +1873,7 @@ define([
title: Common.Views.OpenDialog.prototype.txtTitleProtected,
closeFile: me.appOptions.canRequestClose,
type: Common.Utils.importTextType.DRM,
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline),
warning: !(me.appOptions.isDesktopApp && me.appOptions.isOffline) && (typeof advOptions == 'string'),
warningMsg: advOptions,
validatePwd: !!me._state.isDRM,
handler: function (result, value) {