Fix edit description
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user