This commit is contained in:
MatteoPistorello 2021-10-06 15:03:32 +02:00
commit 1432acfc83
2 changed files with 20 additions and 1 deletions

View File

@ -327,3 +327,22 @@ echo '
</div>
</div>
</div>';
echo '
<script>
$("#idsede_partenza").change(function(){
updateSelectOption("idsede_partenza", $(this).val());
session_set("superselect,idsede_partenza", $(this).val(), 0);
$("#idarticolo").selectReset();
});
$("#idsede_destinazione").change(function(){
updateSelectOption("idsede_destinazione", $(this).val());
session_set("superselect,idsede_destinazione", $(this).val(), 0);
$("#idarticolo").selectReset();
});
</script>';

View File

@ -164,7 +164,7 @@ echo '
<div class="row">
<div class="col-md-12">
{[ "type": "ckeditor", "use_full_ckeditor": 1, "label": "<?php echo tr('Condizioni generali di fornitura'); ?>", "name": "condizioni_fornitura", "class": "autosize", "value": "$condizioni_fornitura$" ]}
{[ "type": "ckeditor", "use_full_ckeditor": 0, "label": "<?php echo tr('Condizioni generali di fornitura'); ?>", "name": "condizioni_fornitura", "class": "autosize", "value": "$condizioni_fornitura$" ]}
</div>
</div>