[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /homework response.pm
From:       damieng <damieng () source ! lon-capa ! org>
Date:       2015-02-20 22:14:49
Message-ID: cvsdamieng1424470489 () cvsserver
[Download RAW message or body]

damieng		Fri Feb 20 22:14:49 2015 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  set implicit operators for mathresponse preview
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.238 loncom/homework/response.pm:1.239
--- loncom/homework/response.pm:1.238	Tue Dec 30 20:03:10 2014
+++ loncom/homework/response.pm	Fri Feb 20 22:14:49 2015
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.238 2014/12/30 20:03:10 raeburn Exp $
+# $Id: response.pm,v 1.239 2015/02/20 22:14:49 damieng Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -617,6 +617,7 @@
 <script type="text/javascript">
   var LCmathField = document.getElementById('${field}');
   LCmathField.className += ' math'; // note the space
+  LCmathField.setAttribute('data-implicit_operators', 'true');
   var LCMATH_started;
   if (typeof LCMATH_started === 'undefined') {
     $mathjaxjs


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic