Fix edit description

This commit is contained in:
Julius Haertl
2016-08-31 14:12:06 +02:00
parent f4ac0c1b2f
commit 62f834077e
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo
};
$scope.cardUpdate = function(card) {
CardService.update(CardService.getCurrent());
$scope.status.description = false;
$scope.status.cardEditDescription = false;
}
$scope.labelAssign = function(element, model) {

View File

@@ -384,7 +384,7 @@ app.controller('CardController', ["$scope", "$rootScope", "$routeParams", "$loca
};
$scope.cardUpdate = function(card) {
CardService.update(CardService.getCurrent());
$scope.status.description = false;
$scope.status.cardEditDescription = false;
}
$scope.labelAssign = function(element, model) {

View File

@@ -72,7 +72,7 @@
ng-model="cardservice.getCurrent().description"
autofocus-on-insert> </textarea>
<div class="container" ng-click="cardEditDescriptionShow()"
ng-show="!status.cardEditDescription" ng-animate>
ng-if="!status.cardEditDescription" ng-animate>
<div ng-bind-html="cardservice.getCurrent().description | markdown"
id="markdown"></div>
<div class="placeholder"