Fix edit description
This commit is contained in:
@@ -64,7 +64,7 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo
|
|||||||
};
|
};
|
||||||
$scope.cardUpdate = function(card) {
|
$scope.cardUpdate = function(card) {
|
||||||
CardService.update(CardService.getCurrent());
|
CardService.update(CardService.getCurrent());
|
||||||
$scope.status.description = false;
|
$scope.status.cardEditDescription = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.labelAssign = function(element, model) {
|
$scope.labelAssign = function(element, model) {
|
||||||
|
|||||||
@@ -384,7 +384,7 @@ app.controller('CardController', ["$scope", "$rootScope", "$routeParams", "$loca
|
|||||||
};
|
};
|
||||||
$scope.cardUpdate = function(card) {
|
$scope.cardUpdate = function(card) {
|
||||||
CardService.update(CardService.getCurrent());
|
CardService.update(CardService.getCurrent());
|
||||||
$scope.status.description = false;
|
$scope.status.cardEditDescription = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.labelAssign = function(element, model) {
|
$scope.labelAssign = function(element, model) {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
ng-model="cardservice.getCurrent().description"
|
ng-model="cardservice.getCurrent().description"
|
||||||
autofocus-on-insert> </textarea>
|
autofocus-on-insert> </textarea>
|
||||||
<div class="container" ng-click="cardEditDescriptionShow()"
|
<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"
|
<div ng-bind-html="cardservice.getCurrent().description | markdown"
|
||||||
id="markdown"></div>
|
id="markdown"></div>
|
||||||
<div class="placeholder"
|
<div class="placeholder"
|
||||||
|
|||||||
Reference in New Issue
Block a user