diff --git a/ecrire/public/composer.php b/ecrire/public/composer.php
index 3b5963e7e0b3c61a1acbf7bf0c081de4d8341358..5f6ff6d6cc9e6e718ccab022d880f0ab84365dc5 100644
--- a/ecrire/public/composer.php
+++ b/ecrire/public/composer.php
@@ -309,7 +309,7 @@ function calcul_exposer ($id, $prim, $reference, $parent, $type) {
 			$exposer= array($type => array($principal => true));
 			if ($type == 'id_mot')
 				$exposer['id_groupe'][$parent] = true;
-			if ($type != 'id_groupe') {
+			else if ($type != 'id_groupe') {
 			  if (!$parent) $parent = $principal;
 			  $a = split(',',calculer_hierarchie($parent));
 			  foreach($a as $n) $exposer['id_rubrique'][$n] = true;
diff --git a/ecrire/public/debug.php b/ecrire/public/debug.php
index ad5ab86361292dbfa183d2fed0f28235b08dee0e..83038b5dd953a3642ff8d8d928e65c26eafb7782 100644
--- a/ecrire/public/debug.php
+++ b/ecrire/public/debug.php
@@ -379,10 +379,14 @@ function ancre_texte($texte, $fautifs=array(), $nocpt=false)
 	}
 	$js = "this.style.visibility=this.style.visibility=='visible'?'hidden' : 'visible'";
 
-	return "\n<table id='T$ancre' style='border: 0px;'>"
-	  . "\n<tr><th onclick=\"\$('.sinumerote').each(function(){ $js })\" >"
+	return "\n<table id='T$ancre' style='border: 0px;'>\n"
+	  . '<tr><th><a onclick="javascript:'
+	  . "\$('.sinumerote').each(function(){ $js }); return false;"
+	  . '" title="'
+	  . _L('Masquer cette colonne')
+	  . '" >'
 	  . _T('info_numero_abbreviation')
-	  . "</th>\n<th style='text-align: center'>"
+	  . "</a></th>\n<th style='text-align: center'>"
 	  . _T('info_texte')
 	  . "</th></tr>"
 	  . $res