mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Fix bug 78113
This commit is contained in:
@ -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
|
||||
|
||||
@ -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}\".",
|
||||
|
||||
Reference in New Issue
Block a user