[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages/reactionresponse reaction_editor.html

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 01 Jul 2003 21:10:03 -0000


albertel		Tue Jul  1 17:10:03 2003 EDT

  Modified files:              
    /loncom/html/res/adm/pages/reactionresponse	reaction_editor.html 
  Log:
  - changed a misnomer variable
  
  
Index: loncom/html/res/adm/pages/reactionresponse/reaction_editor.html
diff -u loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.3 loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.4
--- loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.3	Tue Jul  1 17:06:37 2003
+++ loncom/html/res/adm/pages/reactionresponse/reaction_editor.html	Tue Jul  1 17:10:03 2003
@@ -1,7 +1,7 @@
 <!-- Chemical reaction editor developed by Guy Ashkenazi, guy@fh.huji.ac.il-->
 
 <!--
- $Id: reaction_editor.html,v 1.3 2003/07/01 21:06:37 albertel Exp $
+ $Id: reaction_editor.html,v 1.4 2003/07/01 21:10:03 albertel Exp $
 
  Copyright Michigan State University Board of Trustees
 
@@ -31,14 +31,14 @@
 <script type="text/javascript">
 var rightarrow;
 var id;
-var molecule;
+var reaction;
 var field
 </script>
 <!-- parsed by LON-CAPA to get the correct symbol for the arrow -->
 <display>
 return '<script type="text/javascript">
           var rightarrow=\''.&xmlparse('<m>$\rightarrow$</m>').'\';
-	  var molecule=\''.&EXT('query.molecule').'\';
+	  var reaction=\''.&EXT('query.reaction').'\';
 	  var field=\''.&EXT('query.field').'\';
 	  var id=\''.&EXT('query.id').'\';
         </script>';
@@ -224,7 +224,7 @@
 }
 
 function setup() {
-  document.form.text.value=molecule;
+  document.form.text.value=reaction;
   if (id != '') {
      document.form.submit.value='Insert reaction for Part ' + id; 
      parent.document.title='LON-CAPA Part '+id+' - Reaction Editor';