mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
fixed ReferenceError: $j is not defined in old eTemplate popups
This commit is contained in:
parent
3a2132136b
commit
3e7ba51020
@ -314,9 +314,14 @@ class etemplate_old extends boetemplate
|
|||||||
|
|
||||||
if($output_mode == 2)
|
if($output_mode == 2)
|
||||||
{
|
{
|
||||||
$html .= "\n".'<script language="javascript">'."\n";
|
$html .= '
|
||||||
$html .= 'egw_LAB.wait($j(document).ready(function() { popup_resize();}));'."\n";
|
<script language="javascript">
|
||||||
$html .= '</script>';
|
egw_LAB.wait(function(){
|
||||||
|
$j().ready(function() {
|
||||||
|
popup_resize();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</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
|
||||||
|
Loading…
Reference in New Issue
Block a user