Bug #16229
closedonunload missing in JSeventFuncCalls
0%
Description
Would be nice to have onunload as part of the JSeventFuncCalls array.
line #14275 in "tslib/class.tslib_fe.php" ....
var $JSeventFuncCalls = array( // you can add JavaScript functions to each
entry in these arrays. Please see how this is done in the GMENU_LAYERS
script. The point is that many applications on a page can set handlers for
onload, onmouseover and onmouseup
'onmousemove' => array(),
'onmouseup' => array(),
'onload' => array(),
);
Should be....
var $JSeventFuncCalls = array( // you can add JavaScript functions to each
entry in these arrays. Please see how this is done in the GMENU_LAYERS
script. The point is that many applications on a page can set handlers for
onload, onmouseover and onmouseup
'onmousemove' => array(),
'onmouseup' => array(),
'onload' => array(),
'onunload' => array(),
);
(issue imported from #M3655)