From 82becc3600778162a1d26dd51978d06abb9b8e24 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 11 Dec 2009 11:35:37 -0500 Subject: [PATCH] Updating merge errors in scorm.api + glossary tool --- main/newscorm/scorm_api.php | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/main/newscorm/scorm_api.php b/main/newscorm/scorm_api.php index 51280ebb7e..2d5eb37eb0 100755 --- a/main/newscorm/scorm_api.php +++ b/main/newscorm/scorm_api.php @@ -198,38 +198,15 @@ olms.execute_stats=false; // Initialize stuff when the page is loaded $(document).ready( function() { - // + $("iframe#content_id").load( function(){ olms.info_lms_item[0]='get_id();?>'; olms.info_lms_item[1]='get_id();?>'; - $("#content_id").load( function(){ - olms.info_lms_item[0]=olms.info_lms_item[1]; - - if (olms.lms_lp_type == 2) { //Only scorm - attach_glossary_into_scorm(); - } - - if (olms.lms_item_types['i'+olms.info_lms_item[1]] != 'sco') { - LMSInitialize(); - } - }); -}); - -$("iframe#content_id").load( function(){ - // - olms.info_lms_item[0]='get_id();?>'; - olms.info_lms_item[1]='get_id();?>'; - + ?> $.frameReady(function(){ // $("
I am a div courses
").prependTo("body"); }, "top.content_name",