wip reports alert actions

This commit is contained in:
Daniel Barbero Martin 2021-11-30 13:34:43 +01:00
parent 40fc8c7308
commit ef84b696b3
1 changed files with 0 additions and 9 deletions

View File

@ -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));