diff --git a/css/style.scss b/css/style.scss index e228b4136..93a97ca81 100644 --- a/css/style.scss +++ b/css/style.scss @@ -190,6 +190,10 @@ input.input-inline { .crumb { order: 0; + .bullet { + opacity: 1; + } + a:nth-child(2), a:nth-child(3) { padding-left: 0; diff --git a/js/controller/BoardController.js b/js/controller/BoardController.js index b13ee3b80..01990f108 100644 --- a/js/controller/BoardController.js +++ b/js/controller/BoardController.js @@ -55,7 +55,11 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St }; $scope.$watch(function () { - return BoardService.getCurrent().title; + if (typeof BoardService.getCurrent() !== 'undefined') { + return BoardService.getCurrent().title; + } else { + return null; + } }, function () { $scope.setPageTitle(); }); @@ -211,6 +215,9 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St }; $scope.aclTypeString = function (acl) { + if (typeof acl === 'undefined') { + return ''; + } switch (acl.type) { case OC.Share.SHARE_TYPE_USER: return 'user'; diff --git a/js/controller/CardController.js b/js/controller/CardController.js index f4815f517..4556b5b08 100644 --- a/js/controller/CardController.js +++ b/js/controller/CardController.js @@ -58,6 +58,7 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo return false; } $scope.status.cardEditDescription = true; + $scope.status.edit = angular.copy(CardService.getCurrent()); return true; }; $scope.cardEditDescriptionChanged = function ($event) { @@ -73,7 +74,7 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo $scope.status.lastSave = currentTime; var header = $('.section-header.card-description'); header.find('.save-indicator.unsaved').fadeIn(500); - CardService.update(CardService.getCurrent()).then(function (data) { + CardService.update($scope.status.edit).then(function (data) { var header = $('.section-header.card-description'); header.find('.save-indicator.unsaved').hide(); header.find('.save-indicator.saved').fadeIn(250).fadeOut(1000); @@ -89,7 +90,7 @@ app.controller('CardController', function ($scope, $rootScope, $routeParams, $lo }); }; $scope.cardUpdate = function (card) { - CardService.update(CardService.getCurrent()).then(function (data) { + CardService.update(card).then(function (data) { $scope.status.cardEditDescription = false; var header = $('.section-content.card-description'); header.find('.save-indicator.unsaved').hide(); diff --git a/templates/part.board.mainView.php b/templates/part.board.mainView.php index 823527d11..f1184f43a 100644 --- a/templates/part.board.mainView.php +++ b/templates/part.board.mainView.php @@ -14,7 +14,7 @@ t('Archived boards')); ?>
- + {{ boardservice.getCurrent().title }}
diff --git a/templates/part.boardlist.php b/templates/part.boardlist.php index 3047d0c36..0c7d3fff2 100644 --- a/templates/part.boardlist.php +++ b/templates/part.boardlist.php @@ -32,7 +32,7 @@
{{ b.title }}
- +

@@ -99,7 +99,7 @@ -
diff --git a/templates/part.card.php b/templates/part.card.php index 9931c1248..eaf9258be 100644 --- a/templates/part.card.php +++ b/templates/part.card.php @@ -98,8 +98,8 @@
- +
@@ -50,7 +50,7 @@
- +