mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +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
d53a86f10e
commit
b02ff90092
@ -1230,7 +1230,7 @@ export class etemplate2
|
||||
this.unbind_unload();
|
||||
|
||||
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"))
|
||||
.attr("name", 'etemplate_exec_id')
|
||||
|
Loading…
Reference in New Issue
Block a user