mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#10598 fix autocomplete inside dialog
This commit is contained in:
parent
ebdc735bd4
commit
068b19a82f
@ -1309,6 +1309,10 @@ class WelcomeWindow extends Wizard
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.show();
|
.show();
|
||||||
|
|
||||||
|
$('#text-id_agent').autocomplete({
|
||||||
|
appendTo: '#dialog_alert_mail'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#button-create_goliat').click(function(){
|
$('#button-create_goliat').click(function(){
|
||||||
@ -1389,8 +1393,8 @@ class WelcomeWindow extends Wizard
|
|||||||
url: "include/ajax/task_to_perform.php",
|
url: "include/ajax/task_to_perform.php",
|
||||||
data: {
|
data: {
|
||||||
create_mail_alert: 1,
|
create_mail_alert: 1,
|
||||||
id_condition: $('#text-ip_target').val(),
|
id_condition: $('#id_condition').val(),
|
||||||
id_agent_module: $('#text-ip_target').val(),
|
id_agent_module: $('#id_agent_module').val(),
|
||||||
},
|
},
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data !== 0) {
|
if (data !== 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user