app/views/promethee/edit/write/component/_row.html.erb in promethee-1.0.16 vs app/views/promethee/edit/write/component/_row.html.erb in promethee-1.0.17
- old
+ new
@@ -40,17 +40,17 @@
}
$scope.editing = false;
$scope.edit = function() {
- this.editing = true;
+ $scope.editing = true;
};
$scope.complete = function() {
- this.editing = false;
+ $scope.editing = false;
};
$scope.toggleEdit = function() {
- this.editing = !this.editing;
+ $scope.editing = !$scope.editing;
};
}]);
</script>