Update edit.php

This commit is contained in:
Luca 2019-06-25 17:34:26 +02:00
parent 0902672c5b
commit 834375b746
1 changed files with 7 additions and 3 deletions

View File

@ -629,9 +629,13 @@ if ($dir == 'entrata') {
echo '
<script type="text/javascript">
$("#idanagrafica").change(function(){
session_set("superselect,idanagrafica", $(this).val(), 0);
$("#idsede_destinazione").selectReset();
session_set("superselect,idanagrafica", $(this).val(), 0);';
if ($dir == 'entrata') {
echo '$("#idsede_destinazione").selectReset();';
}else{
echo '$("#idsede_partenza").selectReset();';
}
echo '
});
$("#ricalcola_scadenze").click(function(){