[svn r19520] Minor - Fixed navigation previous and next item into learning path display - partial FS#3909

skala
Cristian Fasanando 16 years ago
parent db2f605ccf
commit 529dbfdec4
  1. 5
      main/newscorm/scorm_api.php

@ -1,4 +1,4 @@
<?php // $Id: scorm_api.php 19506 2009-04-02 16:43:17Z cfasanando $
<?php // $Id: scorm_api.php 19520 2009-04-03 00:40:36Z cfasanando $
/*
==============================================================================
Dokeos - elearning and course management software
@ -859,6 +859,8 @@ function update_toc(update_action,update_id)
}
break;
case 'highlight':
lms_next_item = update_id;
lms_previous_item = update_id;
myelem.attr('class',"scorm_item_highlight");
break;
case 'not attempted':
@ -995,6 +997,7 @@ function switch_item(current_item, next_item){
//(2) Refresh all the values inside this SCORM API object - use AJAX
xajax_switch_item_details(lms_lp_id,lms_user_id,lms_view_id,lms_item_id,next_item);
//alert(lms_next_item);
//(3) open the new item in the content_id frame
switch(next_item){
case 'next':

Loading…
Cancel
Save