Commit 35368442 by Torkel Ödegaard

Merge pull request #356 from Tetha/master

Fixed an exception when adding a graphite function.
parents 035b5163 061bfffd
...@@ -234,7 +234,7 @@ function (angular, _, config, gfunc, Parser) { ...@@ -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();
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment