diff templates/classic/html/help_controls.js @ 1663:09f0a54829eb

Fixed spelling of "supersede"; got rid of forms[0] in js, rather refer to the form by name.
author Jean Jordaan <neaj@users.sourceforge.net>
date Wed, 18 Jun 2003 11:15:13 +0000
parents 49dd1bf17d66
children cd50fbc275a1
line wrap: on
line diff
--- a/templates/classic/html/help_controls.js	Tue Jun 17 11:03:27 2003 +0000
+++ b/templates/classic/html/help_controls.js	Wed Jun 18 11:15:13 2003 +0000
@@ -1,5 +1,5 @@
-// initial values for either Nosy, Superceder, Topic and Waiting On,
-// depecding on which has called
+// initial values for either Nosy, Superseder, Topic and Waiting On,
+// depending on which has called
 
 original_field = window.opener.document.itemSynopsis[field].value;
 
@@ -118,7 +118,7 @@
 
 function writePreview(val) {
    // writes a value to the text_preview
-   document.forms[0].text_preview.value = val;
+   document.frm_help.text_preview.value = val;
 }
 
 function focusField(name) {

Roundup Issue Tracker: http://roundup-tracker.org/