Fix missing index and double quotes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -53,7 +53,7 @@ app.controller('CardController', function ($scope, $rootScope, $sce, $location,
|
|||||||
let text = $scope.status.edit.description || '';
|
let text = $scope.status.edit.description || '';
|
||||||
let before = text.substring(0, start);
|
let before = text.substring(0, start);
|
||||||
let after = text.substring(end, text.length);
|
let after = text.substring(end, text.length);
|
||||||
let newText = before + "\n" + insertText + "\n" + after;
|
let newText = before + '\n' + insertText + '\n' + after;
|
||||||
$scope.status.edit.description = newText;
|
$scope.status.edit.description = newText;
|
||||||
el.selectionStart = el.selectionEnd = start + newText.length;
|
el.selectionStart = el.selectionEnd = start + newText.length;
|
||||||
el.focus();
|
el.focus();
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<div id="assigned-users">
|
<div id="assigned-users">
|
||||||
<avatar data-contactsmenu data-tooltip data-user="{{ b.owner.uid }}" data-displayname="{{ b.owner.displayname }}"></avatar>
|
<avatar data-contactsmenu data-tooltip data-user="{{ b.owner.uid }}" data-displayname="{{ b.owner.displayname }}"></avatar>
|
||||||
<avatar data-contactsmenu data-tooltip data-user="{{ acl.participant.uid }}" data-displayname="{{ acl.participant.displayname }}" ng-repeat="acl in b.acl | limitTo: 7 track by acl.i"></avatar>
|
<avatar data-contactsmenu data-tooltip data-user="{{ acl.participant.uid }}" data-displayname="{{ acl.participant.displayname }}" ng-repeat="acl in b.acl | limitTo: 7 track by acl.id"></avatar>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user