Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim <jim@38b22f21-9aea-0310-abfc-843a9883df58>2008-09-05 08:10:51 (GMT)
committer jim <jim@38b22f21-9aea-0310-abfc-843a9883df58>2008-09-05 08:10:51 (GMT)
commit522459d67ec1151f6dafc370e928517e751f57d2 (patch)
tree415370055419f712abd3e05d64d47fa52ec6d171
parentf25b1af843ab5e04904e63c7edb6874f283c3d0f (diff)
report cmi.core.score.max in SCORM Quiz so SLK recognizes raw score
git-svn-id: https://exe.svn.sourceforge.net/svnroot/exe/trunk@3560 38b22f21-9aea-0310-abfc-843a9883df58
-rw-r--r--NEWS1
-rw-r--r--exe/webui/quiztestblock.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a3ddb23..26f1a7e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+* Add max score reporting to LMS for SCORM Quiz
* Fix image gallery to allow captions containing apostrophes
* Fix field IDs so that adding to a previously saved elp is consistent
* Fix Common Cartridge manifest when a header image is used
diff --git a/exe/webui/quiztestblock.py b/exe/webui/quiztestblock.py
index de770b7..b6cbf3d 100644
--- a/exe/webui/quiztestblock.py
+++ b/exe/webui/quiztestblock.py
@@ -321,6 +321,7 @@ class QuizTestBlock(Block):
scriptStr += """
doLMSSetValue( "cmi.core.score.raw", actualScore+"" );
+ doLMSSetValue( "cmi.core.score.max", "100" );
var mode = doLMSGetValue( "cmi.core.lesson_mode" );