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:
parent
fc6bc568c8
commit
a28ffe5b57
4
add.php
4
add.php
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user