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

TopicClassification:
BugResolved
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2000-12-03 - RichardBennett
 
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.