Skip to content

Commit

Permalink
Related-Bug: #1607194 - Config alarm reverting the temp fix made to g…
Browse files Browse the repository at this point in the history
…et the

globalconfig alarm working which was accidentally checked in. Also removing the
unwanted validation for the severity dropdown.

Change-Id: I6cde987c63c0566c5b0e6dae73d2e4be81c678a6
  • Loading branch information
manojgn committed Jul 29, 2016
1 parent a2ec56a commit d1a2ab2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions webroot/config/alarm/common/ui/js/models/AlarmModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,6 @@ define([
},'id_perms.description': {
required: true,
msg: 'Enter Description'
}, 'alarm_severity': function (value, attr, finalObj) {
var severity = parseInt(value);
if (isNaN(severity)) {
return 'Enter valid Severity between 0-7'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ define([
data: [{
type: "alarms",
parent_type: "global-system-config",
//parent_fq_name_str: 'default-global-system-config'
parent_fq_name_str: 'default-global-system-config'
}]})
},
dataParser: configAlarmFormatters.parseAlarmDetails,
Expand Down

0 comments on commit d1a2ab2

Please sign in to comment.