Cosmetic : set layer correctly

This commit is contained in:
sparkyx 2025-11-22 11:11:01 +01:00
parent ac87e863ad
commit 44c9fd005c
3 changed files with 12 additions and 8 deletions

View file

@ -24,7 +24,7 @@ if ( $cn->get_value("select count(*) from profile join profile_user using (p_id)
$search_card=new IText('card_search');
$search_card->css_size='97%';
$search_card_js=sprintf('onclick="boxsearch_card(\'%d\')"',dossier::id());
echo Icon_Action::card( "$('box_search_card').show()");
echo Icon_Action::card( "$('box_search_card').show();$('box_search_card').setStyle({'z-index':get_next_layer()})");
echo '<div id="box_search_card" style="display:none;width:20rem;padding:0" class="inner_box">';
echo HtmlInput::title_box(_('Recherche de fiche'), "box_search_card","hide");
echo '<p class="info p-1" >';