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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 02 Jul 2004 09:33:30 -0000


albertel		Fri Jul  2 05:33:30 2004 EDT

  Modified files:              
    /loncom/html/res/adm/pages/reactionresponse	reaction_editor.html 
  Log:
   BUG#3061, fixup arrow in reaction editoor window
  
  
Index: loncom/html/res/adm/pages/reactionresponse/reaction_editor.html
diff -u loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.6 loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.7
--- loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.6	Mon Jun  7 16:58:35 2004
+++ loncom/html/res/adm/pages/reactionresponse/reaction_editor.html	Fri Jul  2 05:33:30 2004
@@ -1,7 +1,7 @@
 <!-- Chemical reaction editor developed by Guy Ashkenazi, guy@fh.huji.ac.il-->
 
 <!--
- $Id: reaction_editor.html,v 1.6 2004/06/07 20:58:35 albertel Exp $
+ $Id: reaction_editor.html,v 1.7 2004/07/02 09:33:30 albertel Exp $
 
  Copyright Michigan State University Board of Trustees
 
@@ -73,8 +73,8 @@
   for (i = 0; i < products.length; i++) 
     products[i] = capa_component(products[i]);
  
-  reactants.sort();
-  products.sort();
+//   reactants.sort();
+//   products.sort();
 
   for (i = 0; i < reactants.length-1; i++) {
     reaction += reactants[i];
@@ -139,7 +139,7 @@
     reaction += html_component(reactants[i]);
 
   if (products.length > 0) {
-    reaction += rightarrow;
+    reaction += "+rightarrow+";
     for (i = 0; i < products.length-1; i++) {
       reaction += html_component(products[i]);
       reaction += " + ";