diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 44b6a77325..976e327907 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -174,7 +174,25 @@ class etemplate_new extends etemplate_widget_template $langRequire[] = array('app' => $app, 'lang' => $lang); } - echo ' + // check if we are in an ajax-exec call from jdots template (or future other tabed templates) + if (isset($GLOBALS['egw']->framework->response)) + { + echo ' +
+ +'; + } + else + { + echo '
'; + } common::egw_footer(); } }