[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages/reactionresponse reaction_editor.html
raeburn
raeburn@source.lon-capa.org
Fri, 15 May 2009 13:28:27 -0000
raeburn Fri May 15 13:28:27 2009 EDT
Modified files:
/loncom/html/res/adm/pages/reactionresponse reaction_editor.html
Log:
Bug 5182.
- display as tth, as jsMath needs additional code for <span class="math"> apply when content is created dynamically (i.e., within a Javascript function).
- xhtml
Index: loncom/html/res/adm/pages/reactionresponse/reaction_editor.html
diff -u loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.12 loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.13
--- loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.12 Thu Apr 23 17:27:55 2009
+++ loncom/html/res/adm/pages/reactionresponse/reaction_editor.html Fri May 15 13:28:27 2009
@@ -1,7 +1,7 @@
<!-- Chemical reaction editor developed by Guy Ashkenazi, guy@fh.huji.ac.il-->
<!--
- $Id: reaction_editor.html,v 1.12 2009/04/23 17:27:55 bisitz Exp $
+ $Id: reaction_editor.html,v 1.13 2009/05/15 13:28:27 raeburn Exp $
Copyright Michigan State University Board of Trustees
@@ -28,14 +28,14 @@
<html>
<head>
-<script type="text/javascript">
+<script type="text/javascript" language="Javascript">
var rightarrow;
var id;
var reaction;
var field
</script>
<!-- parsed by LON-CAPA to get the correct symbol for the arrow -->
-<script type="text/javascript">
+<script type="text/javascript" language="Javascript">
var level;
var reactants;
@@ -256,8 +256,8 @@
<body bgcolor="#ffffff" onLoad = "javascript:setup();">
<display>
-return '<script type="text/javascript">
- var rightarrow=\''.&xmlparse('<m>$\rightarrow$</m>').'\';
+return '<script type="text/javascript" language="Javascript">
+ var rightarrow=\''.&xmlparse('<m display="tth">$\rightarrow$</m>').'\';
var reaction=\''.&EXT('query.reaction').'\';
var field=\''.&EXT('query.field').'\';
var id=\''.&EXT('query.id').'\';