fixed errors in reports evnts and alerts groups
This commit is contained in:
parent
083ef3d83a
commit
d1f49bebe5
|
@ -1992,8 +1992,8 @@ $(document).ready (function () {
|
||||||
$("#submit-create_item").click(function () {
|
$("#submit-create_item").click(function () {
|
||||||
var type = $('#type').val();
|
var type = $('#type').val();
|
||||||
switch (type){
|
switch (type){
|
||||||
case 'alert_report_module': case 'alert_report_agent': case 'alert_report_group':
|
case 'alert_report_module': case 'alert_report_agent':
|
||||||
case 'event_report_agent': case 'event_report_module': case 'event_report_group':
|
case 'event_report_agent': case 'event_report_module':
|
||||||
case 'simple_graph': case 'simple_baseline_graph': case 'TTRT': case 'TTO':
|
case 'simple_graph': case 'simple_baseline_graph': case 'TTRT': case 'TTO':
|
||||||
case 'MTBF': case 'MTTR': case 'prediction_date': case 'projection_graph':
|
case 'MTBF': case 'MTTR': case 'prediction_date': case 'projection_graph':
|
||||||
case 'avg_value': case 'max_value': case 'min_value': case 'monitor_report':
|
case 'avg_value': case 'max_value': case 'min_value': case 'monitor_report':
|
||||||
|
@ -2012,8 +2012,8 @@ $(document).ready (function () {
|
||||||
$("#submit-edit_item").click(function () {
|
$("#submit-edit_item").click(function () {
|
||||||
var type = $('#type').val();
|
var type = $('#type').val();
|
||||||
switch (type){
|
switch (type){
|
||||||
case 'alert_report_module': case 'alert_report_agent': case 'alert_report_group':
|
case 'alert_report_module': case 'alert_report_agent':
|
||||||
case 'event_report_agent': case 'event_report_module': case 'event_report_group':
|
case 'event_report_agent': case 'event_report_module':
|
||||||
case 'simple_graph': case 'simple_baseline_graph': case 'TTRT': case 'TTO':
|
case 'simple_graph': case 'simple_baseline_graph': case 'TTRT': case 'TTO':
|
||||||
case 'MTBF': case 'MTTR': case 'prediction_date': case 'projection_graph':
|
case 'MTBF': case 'MTTR': case 'prediction_date': case 'projection_graph':
|
||||||
case 'avg_value': case 'max_value': case 'min_value': case 'monitor_report':
|
case 'avg_value': case 'max_value': case 'min_value': case 'monitor_report':
|
||||||
|
|
Loading…
Reference in New Issue