[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:13:34 -0000


albertel		Tue Jul  1 17:13:34 2003 EDT

  Modified files:              
    /loncom/html/res/adm/pages/reactionresponse	reaction_editor.html 
  Log:
  - draws the Checked version in the topframe on startup now
  
  
Index: loncom/html/res/adm/pages/reactionresponse/reaction_editor.html
diff -u loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.4 loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.5
--- loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.4	Tue Jul  1 17:10:03 2003
+++ loncom/html/res/adm/pages/reactionresponse/reaction_editor.html	Tue Jul  1 17:13:34 2003
@@ -1,7 +1,7 @@
 <!-- Chemical reaction editor developed by Guy Ashkenazi, guy@fh.huji.ac.il-->
 
 <!--
- $Id: reaction_editor.html,v 1.4 2003/07/01 21:10:03 albertel Exp $
+ $Id: reaction_editor.html,v 1.5 2003/07/01 21:13:34 albertel Exp $
 
  Copyright Michigan State University Board of Trustees
 
@@ -225,6 +225,8 @@
 
 function setup() {
   document.form.text.value=reaction;
+  parent.viewer.document.writeln('<center><br>'+to_html(document.form.text.value)+'</center>');
+  parent.viewer.document.close();
   if (id != '') {
      document.form.submit.value='Insert reaction for Part ' + id; 
      parent.document.title='LON-CAPA Part '+id+' - Reaction Editor';