From 538592ed88a18887fbe9e380b7e06219d962ebf1 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 31 May 2012 12:47:24 +0200 Subject: [PATCH] Fixing bug in Chrome (LP can't be view) --- main/newscorm/lp_view.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/main/newscorm/lp_view.php b/main/newscorm/lp_view.php index ac0e3aab27..6bb74b6b09 100644 --- a/main/newscorm/lp_view.php +++ b/main/newscorm/lp_view.php @@ -278,7 +278,8 @@ if ($_SESSION['status'][$course_code] == 5) { $_SESSION['loaded_lp_view'] = true; $display_none = ''; -$margin_left = '290px'; +$margin_left = '305px'; + if ($_SESSION['oLP']->mode == 'embedframe' ||$_SESSION['oLP']->get_hide_toc_frame()==1 ) { $display_none = ';display:none;'; $margin_left = '12px'; @@ -315,10 +316,8 @@ if (Database::num_rows($res_media) > 0) { ?>
-
- - @@ -372,7 +370,7 @@ if (Database::num_rows($res_media) > 0) {
- +
get_html_toc(); ?>