Fixing selecting all of assignments
This commit is contained in:
parent
f0d840148e
commit
1fb9b07c6b
@ -352,6 +352,7 @@ angular.module('OpenSlidesApp.assignments.site', [
|
|||||||
$scope.isSelectMode = false;
|
$scope.isSelectMode = false;
|
||||||
// check all checkboxes
|
// check all checkboxes
|
||||||
$scope.checkAll = function () {
|
$scope.checkAll = function () {
|
||||||
|
$scope.selectedAll = !$scope.selectedAll;
|
||||||
angular.forEach($scope.assignments, function (assignment) {
|
angular.forEach($scope.assignments, function (assignment) {
|
||||||
assignment.selected = $scope.selectedAll;
|
assignment.selected = $scope.selectedAll;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user