Fix bug 78113

This commit is contained in:
Julia.Radzhabova
2025-11-07 18:44:29 +03:00
parent 40f1b33e39
commit aa558b3484
4 changed files with 8 additions and 10 deletions

View File

@ -1944,17 +1944,15 @@ define([
onOpenLinkPdfForm: function(sURI, onAllow, onCancel) {
var id = 'pdf-link',
re = new RegExp('ctrl|' + Common.Utils.String.textCtrl, 'i'),
msg = Common.Utils.isMac ? this.txtSecurityWarningLink.replace(re, '⌘') : this.txtSecurityWarningLink,
config = {
closable: true,
title: this.notcriticalErrorTitle,
iconCls: 'warn',
buttons: ['ok', 'cancel'],
msg: Common.Utils.String.format(msg, sURI || ''),
msg: Common.Utils.String.format(this.txtSecurityWarningLinkOk, sURI || ''),
maxwidth: 600,
callback: _.bind(function(btn){
if (btn == 'ok' && window.event && (!Common.Utils.isMac && window.event.ctrlKey == true || Common.Utils.isMac && window.event.metaKey)) {
if (btn == 'ok') {
onAllow();
}
else

View File

@ -1558,7 +1558,8 @@
"PDFE.Controllers.Main.txtInvalidValue": "Invalid value for field \"{0}\"",
"PDFE.Controllers.Main.txtNeedSynchronize": "You have updates",
"PDFE.Controllers.Main.txtSaveCopyAsComplete": "The file copy was successfully saved",
"PDFE.Controllers.Main.txtSecurityWarningLink": "This document is trying to connect to {0}.<br>If you trust this site, press \"OK\" while holding down the ctrl key.",
"del_PDFE.Controllers.Main.txtSecurityWarningLink": "This document is trying to connect to {0}.<br>If you trust this site, press \"OK\" while holding down the ctrl key.",
"PDFE.Controllers.Main.txtSecurityWarningLinkOk": "This document is trying to connect to {0}.<br>If you trust this site, press \"OK\".",
"PDFE.Controllers.Main.txtSecurityWarningOpenFile": "This document is trying to open file dialog, press \"OK\" to open.",
"PDFE.Controllers.Main.txtSeries": "Series",
"PDFE.Controllers.Main.txtValidPdfFormat": "Field value should match format \"{0}\".",