forked from extern/egroupware
fix to allow to set more then one onLoad parameter in the body tag: the get concated, so dont forget the ';' after each one!!!
This commit is contained in:
parent
a4d5d57722
commit
3881bfbcc0
@ -64,7 +64,7 @@
|
|||||||
*/
|
*/
|
||||||
function javascript()
|
function javascript()
|
||||||
{
|
{
|
||||||
$this->t = CreateObject('phpgwapi.Template', ExecMethod('phpgwapi.phpgw.common.get_tpl_dir','phpgwapi'));
|
//$this->t = CreateObject('phpgwapi.Template', ExecMethod('phpgwapi.phpgw.common.get_tpl_dir','phpgwapi'));
|
||||||
//not currently used, but will be soon - I hope :)
|
//not currently used, but will be soon - I hope :)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,7 +147,7 @@
|
|||||||
*/
|
*/
|
||||||
function set_onload($code)
|
function set_onload($code)
|
||||||
{
|
{
|
||||||
$this->body['onLoad'] = $code;
|
$this->body['onLoad'] .= $code;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -157,7 +157,7 @@
|
|||||||
*/
|
*/
|
||||||
function set_onunload($code)
|
function set_onunload($code)
|
||||||
{
|
{
|
||||||
$this->body['onUnload'] = $code;
|
$this->body['onUnload'] .= $code;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user