diff --git a/src/app/directives/graphiteFuncEditor.js b/src/app/directives/graphiteFuncEditor.js index dff8003f54f..2deef5b5246 100644 --- a/src/app/directives/graphiteFuncEditor.js +++ b/src/app/directives/graphiteFuncEditor.js @@ -206,6 +206,7 @@ function (angular, _, $) { if ($target.hasClass('icon-arrow-left')) { $scope.$apply(function() { _.move($scope.functions, $scope.$index, $scope.$index - 1); + $scope.targetChanged(); }); return; } @@ -213,6 +214,7 @@ function (angular, _, $) { if ($target.hasClass('icon-arrow-right')) { $scope.$apply(function() { _.move($scope.functions, $scope.$index, $scope.$index + 1); + $scope.targetChanged(); }); return; }