[DE forms][Embedded] Fix Bug 53981
This commit is contained in:
parent
64f707bc5a
commit
067181a056
|
@ -492,9 +492,14 @@ DE.ApplicationController = new(function(){
|
|||
if (config.customization && config.customization.goback) {
|
||||
if (config.customization.goback.requestClose && config.canRequestClose)
|
||||
Common.Gateway.requestClose();
|
||||
else if (config.customization.goback.url)
|
||||
else if (config.customization.goback.url) {
|
||||
if (config.customization.goback.blank!==false) {
|
||||
window.open(config.customization.goback.url, "_blank");
|
||||
} else {
|
||||
window.parent.location.href = config.customization.goback.url;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var downloadAs = function(format){
|
||||
|
|
|
@ -1092,9 +1092,14 @@ define([
|
|||
if (this.appOptions.customization && this.appOptions.customization.goback) {
|
||||
if (this.appOptions.customization.goback.requestClose && this.appOptions.canRequestClose)
|
||||
Common.Gateway.requestClose();
|
||||
else if (this.appOptions.customization.goback.url)
|
||||
else if (this.appOptions.customization.goback.url) {
|
||||
if (this.appOptions.customization.goback.blank!==false) {
|
||||
window.open(this.appOptions.customization.goback.url, "_blank");
|
||||
} else {
|
||||
window.parent.location.href = this.appOptions.customization.goback.url;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'download-docx':
|
||||
this.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(Asc.c_oAscFileType.DOCX));
|
||||
|
|
|
@ -330,9 +330,14 @@ PE.ApplicationController = new(function(){
|
|||
if (config.customization && config.customization.goback) {
|
||||
if (config.customization.goback.requestClose && config.canRequestClose)
|
||||
Common.Gateway.requestClose();
|
||||
else if (config.customization.goback.url)
|
||||
else if (config.customization.goback.url) {
|
||||
if (config.customization.goback.blank!==false) {
|
||||
window.open(config.customization.goback.url, "_blank");
|
||||
} else {
|
||||
window.parent.location.href = config.customization.goback.url;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var $pagenum = $('#page-number');
|
||||
|
|
|
@ -265,9 +265,14 @@ SSE.ApplicationController = new(function(){
|
|||
if (config.customization && config.customization.goback) {
|
||||
if (config.customization.goback.requestClose && config.canRequestClose)
|
||||
Common.Gateway.requestClose();
|
||||
else if (config.customization.goback.url)
|
||||
else if (config.customization.goback.url) {
|
||||
if (config.customization.goback.blank!==false) {
|
||||
window.open(config.customization.goback.url, "_blank");
|
||||
} else {
|
||||
window.parent.location.href = config.customization.goback.url;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('#id-btn-zoom-in').on('click', function () {
|
||||
|
|
Loading…
Reference in a new issue