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",