mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
remove no longer necessary resize from (old) eTemplate, as it is done now by egw.js for all popups
This commit is contained in:
parent
939d99d9f6
commit
597e9b82ae
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user