mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
wip reports alert actions
This commit is contained in:
parent
40fc8c7308
commit
ef84b696b3
@ -4748,11 +4748,6 @@ $(document).ready (function () {
|
||||
switch (type){
|
||||
case 'agent_module':
|
||||
case 'alert_report_actions':
|
||||
if ($("select#id_agents2>option:selected").val() == undefined) {
|
||||
dialog_message('#message_no_agent');
|
||||
return false;
|
||||
}
|
||||
|
||||
var agents_multiple = $('#id_agents2').val();
|
||||
var modules_multiple = $('#module').val();
|
||||
$('#hidden-id_agents2-multiple-text').val(JSON.stringify(agents_multiple));
|
||||
@ -4887,10 +4882,6 @@ $(document).ready (function () {
|
||||
switch (type){
|
||||
case 'agent_module':
|
||||
case 'alert_report_actions':
|
||||
if ($("select#id_agents2>option:selected").val() == undefined) {
|
||||
dialog_message('#message_no_agent');
|
||||
return false;
|
||||
}
|
||||
var agents_multiple = $('#id_agents2').val();
|
||||
var modules_multiple = $('#module').val();
|
||||
$('#hidden-id_agents2-multiple-text').val(JSON.stringify(agents_multiple));
|
||||
|
Loading…
x
Reference in New Issue
Block a user