From 6392d6514e41a6e7eb43187a5716b40ddd60253f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 20 Nov 2014 09:00:30 +0100 Subject: [PATCH] Graphite: fixed: moving graphite function left/right did not update query, Fixes #1100 --- src/app/directives/graphiteFuncEditor.js | 2 ++ 1 file changed, 2 insertions(+) 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; }