Merge pull request #3354 from FinnStutzenstein/AssignmentSelectAllFix
Fixing selecting all of assignments
This commit is contained in:
commit
acdb66ee36
@ -356,6 +356,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