#16229onunload missing in JSeventFuncCalls
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.