[LON-CAPA-cvs] cvs: rat /client parameter.html

raeburn raeburn at source.lon-capa.org
Sun Nov 20 20:03:09 EST 2011


raeburn		Mon Nov 21 01:03:09 2011 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  - Bug 6522. 
    - document.clear() was deprecated in Javascript 1.2 (1997),
      and now IE 9 does not support it at all.
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.60 rat/client/parameter.html:1.61
--- rat/client/parameter.html:1.60	Sat Oct  8 19:03:11 2011
+++ rat/client/parameter.html	Mon Nov 21 01:03:09 2011
@@ -5,7 +5,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.60 2011/10/08 19:03:11 raeburn Exp $
+// $Id: parameter.html,v 1.61 2011/11/21 01:03:09 raeburn Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -70,7 +70,7 @@
 }
 
 function choicestart() {
-  this.window.choices.document.clear();
+  this.window.choices.document.open();
   choicewrite('<html><body>');
   choicewrite('<head>');
   choicewrite('<style type="text/css">');
@@ -856,7 +856,7 @@
      }
   }
 
-  this.window.selector.document.clear();
+  this.window.selector.document.open();
   selwrite('<html><body>');
   selwrite('<head>');
   selwrite('<style type="text/css">');




More information about the LON-CAPA-cvs mailing list