diff --git a/html/js/scripts.js b/html/js/scripts.js
index 6a1902c44..3f24390be 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1604,7 +1604,6 @@ function profile_show(p_div)
var div=['profile_gen_div','profile_menu_div','profile_print_div','profile_gestion_div','profile_repo_div'];
for (var r =0;r
Profil =$profile->p_name?>
@@ -53,6 +52,7 @@ $with_direct_form=new ICheckBox("with_direct_form","t");
$with_direct_form->set_check($profile->with_direct_form);
echo '';
echo '
';
-
+ if ( isset ($_POST['tab']))
+ {
+ echo create_script("profile_show('".$_POST['tab']."');");
+ }
}
else
{
diff --git a/include/ajax_mod_menu.php b/include/ajax_mod_menu.php
index f9c70f54d..212125e0a 100644
--- a/include/ajax_mod_menu.php
+++ b/include/ajax_mod_menu.php
@@ -3,6 +3,7 @@ require_once 'class_menu_ref.php';
$m=new Menu_Ref($cn,$me_code);
$msg="Modification ".$m->me_code.' '.h($m->me_menu);
echo '