[LON-CAPA-cvs] cvs: loncom /homework task_grading.js

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 20 Apr 2006 19:20:11 -0000


albertel		Thu Apr 20 15:20:11 2006 EDT

  Modified files:              
    /loncom/homework	task_grading.js 
  Log:
  - bug fix
  
  
Index: loncom/homework/task_grading.js
diff -u loncom/homework/task_grading.js:1.2 loncom/homework/task_grading.js:1.3
--- loncom/homework/task_grading.js:1.2	Wed Apr 19 16:36:19 2006
+++ loncom/homework/task_grading.js	Thu Apr 20 15:20:08 2006
@@ -119,7 +119,7 @@
 	var a = document.createElement('a');
 	var txt = document.createTextNode('Collapse');
 	a.setAttribute('href', '#');
-	attachEvent(a, "onchange", onSlideDrawer);
+	attachEvent(a, "onclick", onSlideDrawer);
 	a.appendChild(txt);
 	li.appendChild(a);