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

bisitz bisitz@source.lon-capa.org
Thu, 23 Apr 2009 17:27:55 -0000


bisitz		Thu Apr 23 17:27:55 2009 EDT

  Modified files:              
    /loncom/html/res/adm/pages/reactionresponse	reaction_editor.html 
  Log:
  XHTML:
  - XHTML conform HTML tag closure (<br />)
  - Added quotation marks to HTML attribute values
  
  
Index: loncom/html/res/adm/pages/reactionresponse/reaction_editor.html
diff -u loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.11 loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.12
--- loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.11	Mon Nov 20 20:33:30 2006
+++ loncom/html/res/adm/pages/reactionresponse/reaction_editor.html	Thu Apr 23 17:27:55 2009
@@ -1,7 +1,7 @@
 <!-- Chemical reaction editor developed by Guy Ashkenazi, guy@fh.huji.ac.il-->
 
 <!--
- $Id: reaction_editor.html,v 1.11 2006/11/20 20:33:30 albertel Exp $
+ $Id: reaction_editor.html,v 1.12 2009/04/23 17:27:55 bisitz Exp $
 
  Copyright Michigan State University Board of Trustees
 
@@ -229,7 +229,7 @@
 
 function setup() {
   document.form.text.value=reaction;
-  parent.viewer.document.writeln('<center><br>'+to_html(document.form.text.value)+'</center>');
+  parent.viewer.document.writeln('<center><br />'+to_html(document.form.text.value)+'</center>');
   parent.viewer.document.close();
   document.form.submit.value='Insert Answer';
   parent.document.title='LON-CAPA - Reaction Editor';
@@ -267,8 +267,8 @@
 <center>
 <hr />
 <form name="form">
-<input type="text" size=50 name="text" />
-<input type="button" value="Check" onClick = "parent.viewer.document.writeln('<center><br>'+to_html(document.form.text.value)+'</center>');parent.viewer.document.close()" /><br />
+<input type="text" size="50" name="text" />
+<input type="button" value="Check" onClick = "parent.viewer.document.writeln('<center><br />'+to_html(document.form.text.value)+'</center>');parent.viewer.document.close()" /><br />
 <br />
 <input type="button" name="submit" value="Insert reaction for part #?" onClick = "submitReaction();" />
 <br />