mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-01 00:16:55 +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.'",
|
id_plugin: "'.$id_plugin.'",
|
||||||
}).then(function(response) {
|
}).then(function(response) {
|
||||||
// Selezione automatica nuovo valore per il select
|
// Selezione automatica nuovo valore per il select
|
||||||
var select = input("'.get('select').'");
|
var select = $("#'.get('select').'");
|
||||||
if (select) {
|
if (select) {
|
||||||
select.getElement().selectSetNew(response.id, response.text, response.data);
|
select.selectSetNew(response.id, response.text, response.data);
|
||||||
//select.change();
|
//select.change();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user