mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #356 from Tetha/master
Fixed an exception when adding a graphite function.
This commit is contained in:
commit
35368442ec
@ -234,7 +234,7 @@ function (angular, _, config, gfunc, Parser) {
|
|||||||
$scope.moveAliasFuncLast();
|
$scope.moveAliasFuncLast();
|
||||||
$scope.smartlyHandleNewAliasByNode(newFunc);
|
$scope.smartlyHandleNewAliasByNode(newFunc);
|
||||||
|
|
||||||
if (!funcDef.params.length && newFunc.added) {
|
if (!newFunc.params.length && newFunc.added) {
|
||||||
$scope.targetChanged();
|
$scope.targetChanged();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -289,4 +289,4 @@ function (angular, _, config, gfunc, Parser) {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user