1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-31 16:05:00 +01:00

Fix selectSetNew da creazione al volo

This commit is contained in:
MatteoPistorello 2022-03-22 14:57:38 +01:00
parent fc6bc568c8
commit a28ffe5b57

View File

@ -86,9 +86,9 @@ $(document).ready(function(){
id_plugin: "'.$id_plugin.'",
}).then(function(response) {
// Selezione automatica nuovo valore per il select
var select = input("'.get('select').'");
var select = $("#'.get('select').'");
if (select) {
select.getElement().selectSetNew(response.id, response.text, response.data);
select.selectSetNew(response.id, response.text, response.data);
//select.change();
}