mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Bugfix autocompilazione FE
This commit is contained in:
@@ -29,7 +29,9 @@ function compile(btn) {
|
||||
},
|
||||
success: function(response) {
|
||||
var data = JSON.parse(response);
|
||||
console.log(data);
|
||||
if (data.length == 0){
|
||||
return;
|
||||
}
|
||||
|
||||
$("#id_tipo").selectSet(data.id_tipo);
|
||||
$("#pagamento").selectSetNew(data.pagamento.id, data.pagamento.descrizione);
|
||||
|
Reference in New Issue
Block a user