mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
fix agents selector check
This commit is contained in:
parent
881a8e6a01
commit
c4e192f7f7
@ -3859,7 +3859,6 @@ $(document).ready (function () {
|
|||||||
case 'historical_data':
|
case 'historical_data':
|
||||||
case 'agent_configuration':
|
case 'agent_configuration':
|
||||||
case 'module_histogram_graph':
|
case 'module_histogram_graph':
|
||||||
case 'event_report_log':
|
|
||||||
case 'increment':
|
case 'increment':
|
||||||
if ($("#hidden-id_agent").val() == 0) {
|
if ($("#hidden-id_agent").val() == 0) {
|
||||||
dialog_message('#message_no_agent');
|
dialog_message('#message_no_agent');
|
||||||
@ -3879,6 +3878,12 @@ $(document).ready (function () {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'event_report_log':
|
||||||
|
if ($("#id_agents3").val() == '') {
|
||||||
|
dialog_message('#message_no_agent');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user