1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-26 13:44:55 +01:00

Fix minori plugin Componenti

This commit is contained in:
MatteoPistorello 2021-08-25 16:54:28 +02:00
parent d7e914b543
commit 0614529453

View File

@ -123,7 +123,7 @@ foreach ($elenchi as $elenco) {
<i class="'.$icona_allegati.' fa-lg"></i> <i class="'.$icona_allegati.' fa-lg"></i>
<div class="box-tools pull-right"> <div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" onclick="toggleDettagli(this)"> <button type="button" class="btn btn-box-tool" onclick="toggleDettagli(this)">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
</button> </button>
</div> </div>
@ -230,8 +230,12 @@ echo '
if (dettagli.css("display") === "none"){ if (dettagli.css("display") === "none"){
dettagli.show(500); dettagli.show(500);
$(trigger).children().removeClass("fa-plus");
$(trigger).children().addClass("fa-minus");
} else { } else {
dettagli.hide(500); dettagli.hide(500);
$(trigger).children().removeClass("fa-minus");
$(trigger).children().addClass("fa-plus");
} }
} }