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:
parent
9334ce4add
commit
46d95462c4
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue