Fix popolamento info articolo dopo la creazione articolo "al volo"

This commit is contained in:
MatteoPistorello 2021-02-16 09:17:15 +01:00
parent 07ec56c3a4
commit 3d66c1cfe9
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ $(document).ready(function(){
select = "#'.get('select').'"; select = "#'.get('select').'";
if ($(select).val() !== undefined) { if ($(select).val() !== undefined) {
$(select).selectSetNew(response.id, response.text, response.data); $(select).selectSetNew(response.id, response.text, response.data);
$(select).change();
} }
$form.closest("div[id^=bs-popup").modal("hide"); $form.closest("div[id^=bs-popup").modal("hide");