Fixed the Problem with add alarm expresion of Alarm Definition
when select Function/Metric/Comparator/Threshold, console pring error: angular.js:13920 ReferenceError: expression is not defined at AlarmExpressionController.touch (directives.js:120) at directives.js:226 and the expression is not added. Reason: lack of "var" before "expression" in the directives.js 226 file. Closes-Bug:#1669647 Change-Id: I4079c961c0da71c41bbb0a9338b2bcf127fd281a
This commit is contained in:
parent
23cb0fd553
commit
6eba0e0df0
|
@ -117,7 +117,7 @@ function monAlarmExpressionsDirective(staticPath){
|
|||
|
||||
function touch() {
|
||||
var hasInvalid = false;
|
||||
expression = undefined;
|
||||
var expression = undefined;
|
||||
|
||||
matchBy = [];
|
||||
deterministic = true;
|
||||
|
|
Loading…
Reference in New Issue