mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-23 13:55:43 +02:00
Merge branch 'fixed-errors-reports-events-and-alert' into 'develop'
fixed errors in reports evnts and alerts groups See merge request !96
This commit is contained in:
commit
c6784af7bf
@ -1992,8 +1992,8 @@ $(document).ready (function () {
|
||||
$("#submit-create_item").click(function () {
|
||||
var type = $('#type').val();
|
||||
switch (type){
|
||||
case 'alert_report_module': case 'alert_report_agent': case 'alert_report_group':
|
||||
case 'event_report_agent': case 'event_report_module': case 'event_report_group':
|
||||
case 'alert_report_module': case 'alert_report_agent':
|
||||
case 'event_report_agent': case 'event_report_module':
|
||||
case 'simple_graph': case 'simple_baseline_graph': case 'TTRT': case 'TTO':
|
||||
case 'MTBF': case 'MTTR': case 'prediction_date': case 'projection_graph':
|
||||
case 'avg_value': case 'max_value': case 'min_value': case 'monitor_report':
|
||||
@ -2012,8 +2012,8 @@ $(document).ready (function () {
|
||||
$("#submit-edit_item").click(function () {
|
||||
var type = $('#type').val();
|
||||
switch (type){
|
||||
case 'alert_report_module': case 'alert_report_agent': case 'alert_report_group':
|
||||
case 'event_report_agent': case 'event_report_module': case 'event_report_group':
|
||||
case 'alert_report_module': case 'alert_report_agent':
|
||||
case 'event_report_agent': case 'event_report_module':
|
||||
case 'simple_graph': case 'simple_baseline_graph': case 'TTRT': case 'TTO':
|
||||
case 'MTBF': case 'MTTR': case 'prediction_date': case 'projection_graph':
|
||||
case 'avg_value': case 'max_value': case 'min_value': case 'monitor_report':
|
||||
|
Loading…
x
Reference in New Issue
Block a user