|
@@ -206,6 +206,7 @@ function (angular, _, $) {
|
|
|
if ($target.hasClass('icon-arrow-left')) {
|
|
if ($target.hasClass('icon-arrow-left')) {
|
|
|
$scope.$apply(function() {
|
|
$scope.$apply(function() {
|
|
|
_.move($scope.functions, $scope.$index, $scope.$index - 1);
|
|
_.move($scope.functions, $scope.$index, $scope.$index - 1);
|
|
|
|
|
+ $scope.targetChanged();
|
|
|
});
|
|
});
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
@@ -213,6 +214,7 @@ function (angular, _, $) {
|
|
|
if ($target.hasClass('icon-arrow-right')) {
|
|
if ($target.hasClass('icon-arrow-right')) {
|
|
|
$scope.$apply(function() {
|
|
$scope.$apply(function() {
|
|
|
_.move($scope.functions, $scope.$index, $scope.$index + 1);
|
|
_.move($scope.functions, $scope.$index, $scope.$index + 1);
|
|
|
|
|
+ $scope.targetChanged();
|
|
|
});
|
|
});
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|