Project

General

Profile

Actions

Bug #16229

closed

onunload missing in JSeventFuncCalls

Added by old_troelsr almost 18 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2006-06-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Feature #16813: JSeventFuncCalls onunloadClosedMartin Kutschker2006-12-26

Actions
Actions #1

Updated by Martin Kutschker almost 18 years ago

There are other events missing as well, eg onmousedown etc.

Actions #2

Updated by Christoph Koehler over 17 years ago

just reported this again and provided a patch:
http://bugs.typo3.org/view.php?id=4701

Actions #3

Updated by Michael Stucki about 17 years ago

Fixed in TYPO3 4.1RC2

Actions

Also available in: Atom PDF