[svn r13598] Added apostrophes around item score to allow LMS to set value to '' by default as requested by SCORM

skala
Yannick Warnier 18 years ago
parent 6f7d97ec7e
commit 13c3546074
  1. 4
      main/newscorm/scorm_api.php

@ -125,8 +125,8 @@ var commit = false ;
//Strictly scorm variables //Strictly scorm variables
var score=<?php echo $oItem->get_score();?>; var score=<?php echo $oItem->get_score();?>;
var max=<?php echo $oItem->get_max();?>; var max='<?php echo $oItem->get_max();?>';
var min=<?php echo $oItem->get_min();?>; var min='<?php echo $oItem->get_min();?>';
var lesson_status='<?php echo $oItem->get_status();?>'; var lesson_status='<?php echo $oItem->get_status();?>';
var session_time='<?php echo $oItem->get_scorm_time('js');?>'; var session_time='<?php echo $oItem->get_scorm_time('js');?>';
var suspend_data = '<?php echo $oItem->get_suspend_data();?>'; var suspend_data = '<?php echo $oItem->get_suspend_data();?>';

Loading…
Cancel
Save