We're using the September 2000 release.
In
templates/edit.tmpl there's some
JavaScript which breaks for us in IE 5 and doesn't seem to do anything in Linux NS 4. The code is:
function initForm() { document.main.text.focus(); } It seems like the point is to set the focus to the
<TEXTAREA> element of the form. If this is the case, then perhaps it should be this:
function initForm() { document.forms["main"].elements["info"].focus(); } This works very well for us under IE 5 and Linux NS 4.
However, this (01 Dec 2000) release doesn't seem to exhibit the problem.
--
RichardBennett - 29 Nov 2000
I checked the
JavaScript documentation,
document.main.text.focus(); is a valid statement. The docs say:
[window.]document.formName.fieldName.method(). In TWiki,
main is the name of the form,
text is the name of the
<TEXTAREA> element. So it looks OK to me. The version before 01 Dec 2000 had the =<FORM> element incorrectly placed between =<TABLE> and =<TR>, that might have confused IE 5.
--
PeterThoeny - 30 Nov 2000
OK, thanks Peter, I'll check it out.
--
RichardBennett - 03 Dec 2000