[LON-CAPA-cvs] cvs: loncom /homework functionplotresponse.pm
www
www at source.lon-capa.org
Fri Nov 18 13:54:21 EST 2011
www Fri Nov 18 18:54:21 2011 EDT
Modified files:
/loncom/homework functionplotresponse.pm
Log:
Calling the update routines
Index: loncom/homework/functionplotresponse.pm
diff -u loncom/homework/functionplotresponse.pm:1.72 loncom/homework/functionplotresponse.pm:1.73
--- loncom/homework/functionplotresponse.pm:1.72 Fri Nov 18 18:02:04 2011
+++ loncom/homework/functionplotresponse.pm Fri Nov 18 18:54:21 2011
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# Functionplot responses
#
-# $Id: functionplotresponse.pm,v 1.72 2011/11/18 18:02:04 www Exp $
+# $Id: functionplotresponse.pm,v 1.73 2011/11/18 18:54:21 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -425,10 +425,9 @@
document.ggbApplet_$id.evalCommand("$anglelabel=Angle[$pointlabel,$startlabel,$endlabel]");
document.ggbApplet_$id.setLabelVisible("$anglelabel",true);
document.ggbApplet_$id.setLabelStyle("$anglelabel",VALUE=2);
-// Keeps track of points we care about (This should use the same listener function we use in graph problems)
-//document.ggbApplet1.registerObjectUpdateListener('Gravitystart','updatePointCoordinates');
-//document.ggbApplet1.registerObjectUpdateListener('Gravityend','updatePointCoordinates');
-//document.ggbApplet1.registerObjectUpdateListener('GravityAngle','updatePointCoordinates');
+document.ggbApplet_$id.registerObjectUpdateListener('$startlabel','updatePointCoordinates_$id');
+document.ggbApplet_$id.registerObjectUpdateListener('$endlabel','updatePointCoordinates_$id');
+document.ggbApplet_$id.registerObjectUpdateListener('$anglelabel','updatePointCoordinates_$id');
ENDVECTOR
}
More information about the LON-CAPA-cvs
mailing list