Fix bug and esthetic : the var. dep can be empty
This commit is contained in:
parent
1e56e7fd34
commit
cb97fb03be
2 changed files with 2 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ $a_tab[$call_tab]='tabs_selected';
|
|||
<li class="<?php echo $a_tab['profile_gestion_div']?>"><a href="javascript:void(0)" style="" onclick="unselect_other_tab(this.parentNode.parentNode);this.parentNode.className='tabs_selected';profile_show('profile_gestion_div')"><?php echo _('Action Gestion')?> </a></li>
|
||||
<li class="<?php echo $a_tab['profile_repo_div']?>"><a href="javascript:void(0)" onclick="unselect_other_tab(this.parentNode.parentNode);this.parentNode.className='tabs_selected';profile_show('profile_repo_div')"><?php echo _('Dépôts')?></a>
|
||||
</ul>
|
||||
<div style="clear: both"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -426,7 +426,7 @@ if (isset($_POST['delete_profil']))
|
|||
<?php
|
||||
|
||||
}
|
||||
$dep=$http->post("dep");
|
||||
$dep=$http->post("dep","string","");
|
||||
?>
|
||||
<script>
|
||||
var selected_menu="<?php echo $dep;?>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue