[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm
bowersj2
lon-capa-cvs@mail.lon-capa.org
Sun, 05 Mar 2006 19:43:15 -0000
bowersj2 Sun Mar 5 14:43:15 2006 EDT
Modified files:
/loncom/interface/statistics lonstudentassessment.pm
Log:
Previous commit worked only in IE; this should work in both.
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.132 loncom/interface/statistics/lonstudentassessment.pm:1.133
--- loncom/interface/statistics/lonstudentassessment.pm:1.132 Sat Mar 4 21:00:01 2006
+++ loncom/interface/statistics/lonstudentassessment.pm Sun Mar 5 14:43:12 2006
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.132 2006/03/05 02:00:01 bowersj2 Exp $
+# $Id: lonstudentassessment.pm,v 1.133 2006/03/05 19:43:12 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -756,7 +756,7 @@
div.style.top = (top - 25) + "px";
div.style.left = (left - 10) + "px";
currentDiv = div;
- document.body.insertBefore(div, document.body.children[0]);
+ document.body.insertBefore(div, document.body.childNodes[0]);
oldBorder = element.style.border;
element.style.border = "1px solid yellow";
currentElement = element;