mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix errors / exceptions in merge-print or other downloads do NOT show the error but trigger a redirect giving potentially a different unrelated error
A better fix would be to use a different cd-code e.g. cd=postSubmit and fix the server-side framework to return the framework / sidebox AND the page-content incl. the error, which it currently does not :( With cd=popup we don't get the framework / sidebox (if running in the main window), but we get the error and a F5 / reload fixes the framework
This commit is contained in:
parent
2bec393ad2
commit
da6faa5b1d
@ -1231,7 +1231,7 @@ export class etemplate2
|
|||||||
this.unbind_unload();
|
this.unbind_unload();
|
||||||
|
|
||||||
const form = jQuery("<form id='form' action='" + egw().webserverUrl +
|
const form = jQuery("<form id='form' action='" + egw().webserverUrl +
|
||||||
"/index.php?menuaction=" + this._widgetContainer.egw().getAppName() + ".EGroupware\\Api\\Etemplate.process_exec&ajax=true' method='POST'>");
|
"/index.php?menuaction=" + this._widgetContainer.egw().getAppName() + ".EGroupware\\Api\\Etemplate.process_exec&cd=popup' method='POST'>");
|
||||||
|
|
||||||
const etemplate_id = jQuery(document.createElement("input"))
|
const etemplate_id = jQuery(document.createElement("input"))
|
||||||
.attr("name", 'etemplate_exec_id')
|
.attr("name", 'etemplate_exec_id')
|
||||||
|
Loading…
Reference in New Issue
Block a user