[Embedded][Forms] Fix Bug 54104
This commit is contained in:
parent
9e8e78ada2
commit
c1b8e34f9e
|
@ -121,6 +121,7 @@ DE.ApplicationController = new(function(){
|
||||||
docInfo.put_Format(docConfig.fileType);
|
docInfo.put_Format(docConfig.fileType);
|
||||||
docInfo.put_VKey(docConfig.vkey);
|
docInfo.put_VKey(docConfig.vkey);
|
||||||
docInfo.put_UserInfo(_user);
|
docInfo.put_UserInfo(_user);
|
||||||
|
docInfo.put_CallbackUrl(config.callbackUrl);
|
||||||
docInfo.put_Token(docConfig.token);
|
docInfo.put_Token(docConfig.token);
|
||||||
docInfo.put_Permissions(_permissions);
|
docInfo.put_Permissions(_permissions);
|
||||||
docInfo.put_EncryptedInfo(config.encryptionKeys);
|
docInfo.put_EncryptedInfo(config.encryptionKeys);
|
||||||
|
@ -693,6 +694,10 @@ DE.ApplicationController = new(function(){
|
||||||
message = me.convertationErrorText;
|
message = me.convertationErrorText;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.ConvertationOpenError:
|
||||||
|
message = me.openErrorText;
|
||||||
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.DownloadError:
|
case Asc.c_oAscError.ID.DownloadError:
|
||||||
message = me.downloadErrorText;
|
message = me.downloadErrorText;
|
||||||
break;
|
break;
|
||||||
|
@ -945,6 +950,7 @@ DE.ApplicationController = new(function(){
|
||||||
txtEmpty: '(Empty)',
|
txtEmpty: '(Empty)',
|
||||||
txtPressLink: 'Press Ctrl and click link',
|
txtPressLink: 'Press Ctrl and click link',
|
||||||
errorLoadingFont: 'Fonts are not loaded.<br>Please contact your Document Server administrator.',
|
errorLoadingFont: 'Fonts are not loaded.<br>Please contact your Document Server administrator.',
|
||||||
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.'
|
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.',
|
||||||
|
openErrorText: 'An error has occurred while opening the file'
|
||||||
}
|
}
|
||||||
})();
|
})();
|
|
@ -38,6 +38,7 @@
|
||||||
"DE.ApplicationController.unknownErrorText": "Unknown error.",
|
"DE.ApplicationController.unknownErrorText": "Unknown error.",
|
||||||
"DE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
|
"DE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
|
||||||
"DE.ApplicationController.waitText": "Please, wait...",
|
"DE.ApplicationController.waitText": "Please, wait...",
|
||||||
|
"DE.ApplicationController.openErrorText": "An error has occurred while opening the file.",
|
||||||
"DE.ApplicationView.txtDownload": "Download",
|
"DE.ApplicationView.txtDownload": "Download",
|
||||||
"DE.ApplicationView.txtDownloadDocx": "Download as docx",
|
"DE.ApplicationView.txtDownloadDocx": "Download as docx",
|
||||||
"DE.ApplicationView.txtDownloadPdf": "Download as pdf",
|
"DE.ApplicationView.txtDownloadPdf": "Download as pdf",
|
||||||
|
|
|
@ -189,6 +189,10 @@ define([
|
||||||
config.msg = this.convertationErrorText;
|
config.msg = this.convertationErrorText;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.ConvertationOpenError:
|
||||||
|
config.msg = this.openErrorText;
|
||||||
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.DownloadError:
|
case Asc.c_oAscError.ID.DownloadError:
|
||||||
config.msg = this.downloadErrorText;
|
config.msg = this.downloadErrorText;
|
||||||
break;
|
break;
|
||||||
|
@ -1535,7 +1539,8 @@ define([
|
||||||
txtArt: 'Your text here',
|
txtArt: 'Your text here',
|
||||||
txtChoose: 'Choose an item',
|
txtChoose: 'Choose an item',
|
||||||
txtEnterDate: 'Enter a date',
|
txtEnterDate: 'Enter a date',
|
||||||
txtClickToLoad: 'Click to load image'
|
txtClickToLoad: 'Click to load image',
|
||||||
|
openErrorText: 'An error has occurred while opening the file'
|
||||||
|
|
||||||
}, DE.Controllers.ApplicationController));
|
}, DE.Controllers.ApplicationController));
|
||||||
|
|
||||||
|
|
|
@ -112,6 +112,7 @@
|
||||||
"DE.Controllers.ApplicationController.txtClickToLoad": "Click to load image",
|
"DE.Controllers.ApplicationController.txtClickToLoad": "Click to load image",
|
||||||
"DE.Controllers.ApplicationController.txtArt": "Your text here",
|
"DE.Controllers.ApplicationController.txtArt": "Your text here",
|
||||||
"DE.Controllers.ApplicationController.txtEnterDate": "Enter a date",
|
"DE.Controllers.ApplicationController.txtEnterDate": "Enter a date",
|
||||||
|
"DE.Controllers.ApplicationController.openErrorText": "An error has occurred while opening the file.",
|
||||||
"DE.Views.ApplicationView.textClear": "Clear All Fields",
|
"DE.Views.ApplicationView.textClear": "Clear All Fields",
|
||||||
"DE.Views.ApplicationView.textCopy": "Copy",
|
"DE.Views.ApplicationView.textCopy": "Copy",
|
||||||
"DE.Views.ApplicationView.textCut": "Cut",
|
"DE.Views.ApplicationView.textCut": "Cut",
|
||||||
|
|
|
@ -119,6 +119,7 @@ PE.ApplicationController = new(function(){
|
||||||
docInfo.put_Format(docConfig.fileType);
|
docInfo.put_Format(docConfig.fileType);
|
||||||
docInfo.put_VKey(docConfig.vkey);
|
docInfo.put_VKey(docConfig.vkey);
|
||||||
docInfo.put_UserInfo(_user);
|
docInfo.put_UserInfo(_user);
|
||||||
|
docInfo.put_CallbackUrl(config.callbackUrl);
|
||||||
docInfo.put_Token(docConfig.token);
|
docInfo.put_Token(docConfig.token);
|
||||||
docInfo.put_Permissions(_permissions);
|
docInfo.put_Permissions(_permissions);
|
||||||
docInfo.put_EncryptedInfo(config.encryptionKeys);
|
docInfo.put_EncryptedInfo(config.encryptionKeys);
|
||||||
|
@ -538,6 +539,10 @@ PE.ApplicationController = new(function(){
|
||||||
message = me.convertationErrorText;
|
message = me.convertationErrorText;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.ConvertationOpenError:
|
||||||
|
message = me.openErrorText;
|
||||||
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.DownloadError:
|
case Asc.c_oAscError.ID.DownloadError:
|
||||||
message = me.downloadErrorText;
|
message = me.downloadErrorText;
|
||||||
break;
|
break;
|
||||||
|
@ -740,6 +745,7 @@ PE.ApplicationController = new(function(){
|
||||||
textAnonymous: 'Anonymous',
|
textAnonymous: 'Anonymous',
|
||||||
errorForceSave: "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
errorForceSave: "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
||||||
errorLoadingFont: 'Fonts are not loaded.<br>Please contact your Document Server administrator.',
|
errorLoadingFont: 'Fonts are not loaded.<br>Please contact your Document Server administrator.',
|
||||||
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.'
|
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.',
|
||||||
|
openErrorText: 'An error has occurred while opening the file'
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
"PE.ApplicationController.unknownErrorText": "Unknown error.",
|
"PE.ApplicationController.unknownErrorText": "Unknown error.",
|
||||||
"PE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
|
"PE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
|
||||||
"PE.ApplicationController.waitText": "Please, wait...",
|
"PE.ApplicationController.waitText": "Please, wait...",
|
||||||
|
"PE.ApplicationController.openErrorText": "An error has occurred while opening the file.",
|
||||||
"PE.ApplicationView.txtDownload": "Download",
|
"PE.ApplicationView.txtDownload": "Download",
|
||||||
"PE.ApplicationView.txtEmbed": "Embed",
|
"PE.ApplicationView.txtEmbed": "Embed",
|
||||||
"PE.ApplicationView.txtFileLocation": "Open file location",
|
"PE.ApplicationView.txtFileLocation": "Open file location",
|
||||||
|
|
|
@ -119,6 +119,7 @@ SSE.ApplicationController = new(function(){
|
||||||
docInfo.put_Format(docConfig.fileType);
|
docInfo.put_Format(docConfig.fileType);
|
||||||
docInfo.put_VKey(docConfig.vkey);
|
docInfo.put_VKey(docConfig.vkey);
|
||||||
docInfo.put_UserInfo(_user);
|
docInfo.put_UserInfo(_user);
|
||||||
|
docInfo.put_CallbackUrl(config.callbackUrl);
|
||||||
docInfo.put_Token(docConfig.token);
|
docInfo.put_Token(docConfig.token);
|
||||||
docInfo.put_Permissions(_permissions);
|
docInfo.put_Permissions(_permissions);
|
||||||
docInfo.put_EncryptedInfo(config.encryptionKeys);
|
docInfo.put_EncryptedInfo(config.encryptionKeys);
|
||||||
|
@ -449,6 +450,10 @@ SSE.ApplicationController = new(function(){
|
||||||
message = me.convertationErrorText;
|
message = me.convertationErrorText;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.ConvertationOpenError:
|
||||||
|
message = me.openErrorText;
|
||||||
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.DownloadError:
|
case Asc.c_oAscError.ID.DownloadError:
|
||||||
message = me.downloadErrorText;
|
message = me.downloadErrorText;
|
||||||
break;
|
break;
|
||||||
|
@ -689,6 +694,7 @@ SSE.ApplicationController = new(function(){
|
||||||
textAnonymous: 'Anonymous',
|
textAnonymous: 'Anonymous',
|
||||||
errorForceSave: "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
errorForceSave: "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later.",
|
||||||
errorLoadingFont: 'Fonts are not loaded.<br>Please contact your Document Server administrator.',
|
errorLoadingFont: 'Fonts are not loaded.<br>Please contact your Document Server administrator.',
|
||||||
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.'
|
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.',
|
||||||
|
openErrorText: 'An error has occurred while opening the file'
|
||||||
}
|
}
|
||||||
})();
|
})();
|
|
@ -28,6 +28,7 @@
|
||||||
"SSE.ApplicationController.unknownErrorText": "Unknown error.",
|
"SSE.ApplicationController.unknownErrorText": "Unknown error.",
|
||||||
"SSE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
|
"SSE.ApplicationController.unsupportedBrowserErrorText": "Your browser is not supported.",
|
||||||
"SSE.ApplicationController.waitText": "Please, wait...",
|
"SSE.ApplicationController.waitText": "Please, wait...",
|
||||||
|
"SSE.ApplicationController.openErrorText": "An error has occurred while opening the file.",
|
||||||
"SSE.ApplicationView.txtDownload": "Download",
|
"SSE.ApplicationView.txtDownload": "Download",
|
||||||
"SSE.ApplicationView.txtEmbed": "Embed",
|
"SSE.ApplicationView.txtEmbed": "Embed",
|
||||||
"SSE.ApplicationView.txtFileLocation": "Open file location",
|
"SSE.ApplicationView.txtFileLocation": "Open file location",
|
||||||
|
|
Loading…
Reference in a new issue