Updating merge errors in scorm.api + glossary tool

skala
Julio Montoya 16 years ago
parent caf817febb
commit 82becc3600
  1. 25
      main/newscorm/scorm_api.php

@ -198,35 +198,12 @@ olms.execute_stats=false;
// Initialize stuff when the page is loaded
$(document).ready( function() {
//
olms.info_lms_item[0]='<?php echo $oItem->get_id();?>';
olms.info_lms_item[1]='<?php echo $oItem->get_id();?>';
$("#content_id").load( function(){
olms.info_lms_item[0]=olms.info_lms_item[1];
<?php
if (api_get_setting('show_glossary_in_extra_tools') == 'true') {
?>
if (olms.lms_lp_type == 2) { //Only scorm
attach_glossary_into_scorm();
}
<?php
}
?>
if (olms.lms_item_types['i'+olms.info_lms_item[1]] != 'sco') {
LMSInitialize();
}
});
});
$("iframe#content_id").load( function(){
//
$("iframe#content_id").load( function(){
olms.info_lms_item[0]='<?php echo $oItem->get_id();?>';
olms.info_lms_item[1]='<?php echo $oItem->get_id();?>';
<?php
if (api_get_setting('show_glossary_in_extra_tools') == 'true') {
if (api_get_setting('show_glossary_in_documents') == 'ismanual') {
//Will be always automatic
?>

Loading…
Cancel
Save