forked from extern/egroupware
Make sure et2 apps don't get passed back to old etemplate
This commit is contained in:
parent
09f2ccbb73
commit
656560c376
@ -388,7 +388,7 @@ etemplate2.prototype.postSubmit = function()
|
||||
if (canSubmit)
|
||||
{
|
||||
var form = jQuery("<form id='form' action='"+egw().webserverUrl +
|
||||
"/etemplate/process_exec.php?menuaction=" + this.widgetContainer.egw().getAppName()+ "' method='POST'>");
|
||||
"/etemplate/process_exec.php?menuaction=" + this.widgetContainer.egw().getAppName()+ "&ajax=true' method='POST'>");
|
||||
|
||||
var etemplate_id = jQuery(document.createElement("input"))
|
||||
.attr("name",'etemplate_exec_id')
|
||||
|
@ -21,4 +21,11 @@ $GLOBALS['egw_info'] = array(
|
||||
);
|
||||
include('../header.inc.php');
|
||||
|
||||
ExecMethod('etemplate.etemplate.process_exec');
|
||||
if($_GET['ajax'])
|
||||
{
|
||||
ExecMethod('etemplate.etemplate_new.process_exec');
|
||||
}
|
||||
else
|
||||
{
|
||||
ExecMethod('etemplate.etemplate.process_exec');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user