Task #1151 - Amélioration configuration des menus

#1151 Hide or show the detail of a profile or the list of profile
This commit is contained in:
Dany De Bontridder 2015-08-15 10:25:36 +02:00
parent 9334ce4add
commit 46d95462c4

View file

@ -355,10 +355,20 @@ echo '<div id="detail_profile" class="content">';
if (isset($_POST['p_id']))
{
require_once NOALYSS_INCLUDE.'/ajax_get_profile.php';
?>
<script>
$('list_profile').hide()
</script>
<?php
}
echo '</div>';
if ( isset($_POST['delete_profil'] ))
{
echo create_script(" $('detail_profile').hide()");
?>
<script>
$('list_profile').show()
</script>
<?php
}
?>