app/views/promethee/edit/write/component/_text.html.erb in promethee-1.0.16 vs app/views/promethee/edit/write/component/_text.html.erb in promethee-1.0.17
- old
+ new
@@ -28,18 +28,18 @@
promethee.controller('TextController', ['$scope', function($scope) {
$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;
};
$scope.options = {
toolbar: [
['headline', ['style']],