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)
Updated by Martin Kutschker over 18 years ago
There are other events missing as well, eg onmousedown etc.
Updated by Christoph Koehler almost 18 years ago
just reported this again and provided a patch:
http://bugs.typo3.org/view.php?id=4701