Hello Mischiel,
I can vaguely remember that I wrote that part. It depends which version
of the htmlarea you use. The default (/htmlarea/) has still this issue.
It removes all listeners already attached to the window onunload. The
xinha editor (bug fixed htmlarea) does not have this issue anymore. The
xinha editor does it through dom-calls and preserves the old listeners.
history.go has been in there as long as I can remember. I believe it is
IE specific, because Mozilla browsers don't understand it.
Nico
Michiel Meeuwissen wrote:
This implementation of editwizards to avoid that people push the 'back'
button of the browser is annoying me. I find that it breaks the browser,
and that there are better solutions to solve the issue. (bug #6810)
I would fix it, were it not that in javascript/editwizard.jsp the following
warning is present:
function doOnUnLoad_ew() {
// This code is still here to document not to use the onunload event handler
// Since 1.7 a new wysiwyg editor (HTMLArea) is installed which replaces the
// onunload handler with one of his own. It is hard to override that one,
// because a timer is used to wait a while before attaching it.
// In short, DON'T USE OR OVERRIDE THIS FUNCTION.
Does anybody know more about this? Why does htmlarea _replace_ the dounload
handler rather then attach one? It is actually true?
Michiel
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers