mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +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)
|
||||
{
|
||||
$html .= "\n".'<script language="javascript">'."\n";
|
||||
$html .= 'egw_LAB.wait($j(document).ready(function() { popup_resize();}));'."\n";
|
||||
$html .= '</script>';
|
||||
$html .= '
|
||||
<script language="javascript">
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user