Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a problem with version datamodel

  • Loading branch information...
commit 27a10b8dd866b2e21214ed6bd2856d7664609366 1 parent 12c3987
bobopinna authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/scorm/datamodels/scorm1_3.js.php
View
4 mod/scorm/datamodels/scorm1_3.js.php
@@ -37,7 +37,7 @@ function SCORMapi1_3() {
CMIResult = '^correct$|^wrong$|^unanticipated$|^neutral$|^([0-9]{0,3})?(\.[0-9]{1,2})?$';
NAVEvent = '^previous$|^continue$';
// Children lists
- cmi_children = 'comment_from_learner, comments_from_lms, completion_status, credit, entry, exit, interactions, launch_data, learner_id, learner_name, learner_preference, location, max_time_allowed, mode, objectives, progress_measure, scaled_passing_score, score, session_time, success_status, suspend_data, time_limit_action, total_time';
+ cmi_children = 'version, comment_from_learner, comments_from_lms, completion_status, credit, entry, exit, interactions, launch_data, learner_id, learner_name, learner_preference, location, max_time_allowed, mode, objectives, progress_measure, scaled_passing_score, score, session_time, success_status, suspend_data, time_limit_action, total_time';
comments_children = 'comment, location, date_time';
score_children = 'scaled, raw, min, max';
objectives_children = 'id, score, success_status, completion_status, description';
@@ -53,7 +53,7 @@ function SCORMapi1_3() {
// The SCORM 1.3 data model
var datamodel = {
'cmi._children':{'defaultvalue':cmi_children, 'mod':'r'},
- 'cmi._version':{'defaultvalue':'1.0', 'mod':'r'},
+ 'cmi.version':{'defaultvalue':'1.0', 'mod':'r'},
'cmi.comments_from_learner._children':{'defaultvalue':comments_children, 'mod':'r'},
'cmi.comments_from_learner._count':{'mod':'r', 'defaultvalue':'0'},
'cmi.comments_from_learner.n.comment':{'format':CMIString4000, 'mod':'rw'},

0 comments on commit 27a10b8

Please sign in to comment.
Something went wrong with that request. Please try again.