[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /homework structuretags.pm
raeburn
raeburn@source.lon-capa.org
Thu, 13 Jan 2011 18:41:48 -0000
raeburn Thu Jan 13 18:41:48 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/homework structuretags.pm
Log:
- Backport 1.485.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.465.2.12 loncom/homework/structuretags.pm:1.465.2.13
--- loncom/homework/structuretags.pm:1.465.2.12 Fri Jan 7 05:14:57 2011
+++ loncom/homework/structuretags.pm Thu Jan 13 18:41:48 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.465.2.12 2011/01/07 05:14:57 raeburn Exp $
+# $Id: structuretags.pm,v 1.465.2.13 2011/01/13 18:41:48 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -144,7 +144,7 @@
var y= e.clientY-getY(img_element)+Geometry.getVerticalScroll();
var click = x+':'+y;
input_element.value = click;
- img_element.src = '/adm/randomlabel.png?token='+token+'&clickdata='+click;
+ img_element.src = '/adm/randomlabel.png?token='+token+'&clickdata='+click;
}
// ]]>
</script>
@@ -154,10 +154,12 @@
sub setmode_javascript {
return <<"ENDSCRIPT";
<script type="text/javascript">
+// <![CDATA[
function setmode(form,probmode) {
form.problemmode.value = probmode;
form.submit();
}
+// ]]>
</script>
ENDSCRIPT
}