remove no longer necessary resize from (old) eTemplate, as it is done now by egw.js for all popups

This commit is contained in:
Ralf Becker 2014-12-03 07:34:30 +00:00
parent 939d99d9f6
commit 597e9b82ae

View File

@ -312,18 +312,6 @@ class etemplate extends boetemplate
} }
//echo '<p>'.__METHOD__."($method,...) after show: sitemgr=$this->sitemgr, hooked=".(int)$hooked.", output_mode=$output_mode</p>\n"; //echo '<p>'.__METHOD__."($method,...) after show: sitemgr=$this->sitemgr, hooked=".(int)$hooked.", output_mode=$output_mode</p>\n";
if($output_mode == 2)
{
$html .= '
<script language="javascript">
egw_LAB.wait(function(){
$j().ready(function() {
window.setTimeout(popup_resize, 150);
});
});
</script>'."\n";
}
if (!$this->sitemgr && (int) $output_mode != 1 && (int) $output_mode != -1) // NOT returning html if (!$this->sitemgr && (int) $output_mode != 1 && (int) $output_mode != -1) // NOT returning html
{ {
if (!@self::$hooked) if (!@self::$hooked)