Fix postSubmit() - fixes broken document merging

This commit is contained in:
nathangray 2016-05-16 16:55:55 -06:00
parent 65c43ba6f0
commit fb8612f9fd

View File

@ -784,9 +784,9 @@ etemplate2.prototype.postSubmit = function()
{
// unbind our session-destroy handler, as we are submitting
this.unbind_unload();
var form = jQuery("<form id='form' action='"+egw().webserverUrl +
"/etemplate/process_exec.php?menuaction=" + this.widgetContainer.egw().getAppName()+ "&ajax=true' method='POST'>");
"/index.php?menuaction=" + this.widgetContainer.egw().getAppName()+".EGroupware\\Api\\Etemplate.process_exec&ajax=true' method='POST'>");
var etemplate_id = jQuery(document.createElement("input"))
.attr("name",'etemplate_exec_id')