fix agents selector check

This commit is contained in:
alejandro-campos 2020-09-04 13:54:07 +02:00
parent 881a8e6a01
commit c4e192f7f7
1 changed files with 6 additions and 1 deletions

View File

@ -3859,7 +3859,6 @@ $(document).ready (function () {
case 'historical_data':
case 'agent_configuration':
case 'module_histogram_graph':
case 'event_report_log':
case 'increment':
if ($("#hidden-id_agent").val() == 0) {
dialog_message('#message_no_agent');
@ -3879,6 +3878,12 @@ $(document).ready (function () {
return false;
}
break;
case 'event_report_log':
if ($("#id_agents3").val() == '') {
dialog_message('#message_no_agent');
return false;
}
break;
default:
break;
}