From d1ffe504d348e0d8995c1291829228d410a099e0 Mon Sep 17 00:00:00 2001
From: mdtrooper <tres.14159@gmail.com>
Date: Mon, 22 Sep 2014 13:36:33 +0200
Subject: [PATCH] Fixed the hidding bubbles

---
 pandora_console/include/functions_clippy.php | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/pandora_console/include/functions_clippy.php b/pandora_console/include/functions_clippy.php
index 6ae4b40df5..f2fa9ed859 100644
--- a/pandora_console/include/functions_clippy.php
+++ b/pandora_console/include/functions_clippy.php
@@ -171,7 +171,6 @@ function clippy_write_javascript_helps_steps($tours) {
 		}
 		
 		$help_context = false;
-		
 		?>
 		<script type="text/javascript">
 			var <?php echo $name_obj_js_tour; ?> = null;
@@ -181,8 +180,18 @@ function clippy_write_javascript_helps_steps($tours) {
 				
 				<?php echo $name_obj_js_tour; ?>.setOptions({
 					steps: <?php echo json_encode($steps); ?>,
-					showBullets: <?php echo $show_bullets; ?>,
-					showStepNumbers: <?php echo $show_step_numbers; ?>,
+					showBullets: <?php
+						if ($show_bullets)
+							echo "true";
+						else
+							echo "false";
+					?>,
+					showStepNumbers: <?php
+						if ($show_step_numbers)
+							echo "true";
+						else
+							echo "false";
+					?>,
 					nextLabel: "<?php echo __('Next &rarr;'); ?>",
 					prevLabel: "<?php echo __('&larr; Back'); ?>",
 					skipLabel: "<?php echo $skipLabel; ?>",