diff --git a/CHANGELOG.md b/CHANGELOG.md index e03c6017b70..14860efa5ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # vNext - More graphite functions - Fix for Text panel, now changes take effect directly (Issue #251) - +- Fix when adding functions without params that did not cause graph to update (issue #267) # 1.5.2 (2013-03-24) ### New Features and improvements diff --git a/src/app/controllers/graphiteTarget.js b/src/app/controllers/graphiteTarget.js index a9617079bd2..a589cd5a293 100644 --- a/src/app/controllers/graphiteTarget.js +++ b/src/app/controllers/graphiteTarget.js @@ -234,7 +234,7 @@ function (angular, _, config, gfunc, Parser) { $scope.moveAliasFuncLast(); $scope.smartlyHandleNewAliasByNode(newFunc); - if (!funcDef.params && newFunc.added) { + if (!funcDef.params.length && newFunc.added) { $scope.targetChanged(); } };