[DE forms][Embedded] Fix Bug 53981
This commit is contained in:
parent
64f707bc5a
commit
067181a056
|
@ -492,8 +492,13 @@ 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)
|
||||
window.parent.location.href = 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -1092,8 +1092,13 @@ 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)
|
||||
window.parent.location.href = 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':
|
||||
|
|
|
@ -330,8 +330,13 @@ 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)
|
||||
window.parent.location.href = 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -265,8 +265,13 @@ 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)
|
||||
window.parent.location.href = 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue