|
|
|
@ -1439,9 +1439,8 @@ function switch_item(current_item, next_item){ |
|
|
|
|
<?php if($oLP->mode == 'fullscreen'){ ?> |
|
|
|
|
cont_f = window.open(''+mysrc,'content_id','toolbar=0,location=0,status=0,scrollbars=1,resizable=1'); |
|
|
|
|
cont_f.onload=function(){ |
|
|
|
|
olms.info_lms_item[0]=olms.info_lms_item[1]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
olms.info_lms_item[0]=olms.info_lms_item[1]; |
|
|
|
|
} |
|
|
|
|
cont_f.onunload=function(){ |
|
|
|
|
olms.info_lms_item[0]=olms.info_lms_item[1]; |
|
|
|
|
} |
|
|
|
@ -1449,6 +1448,13 @@ function switch_item(current_item, next_item){ |
|
|
|
|
<?php } else { ?> |
|
|
|
|
cont_f.attr("src",mysrc); |
|
|
|
|
<?php } ?> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Add a right margin see BT#1607 |
|
|
|
|
if (frames['content_name']) { |
|
|
|
|
frames['content_name'].document.body.style.margin="0 12px 0px 5px"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(olms.lms_lp_type==1 || olms.lms_item_type=='asset'){ |
|
|
|
|
xajax_start_timer(); |
|
|
|
|