Merge pull request #2990 from emanuelschuetze/fixProjection
Fix motion projection.
This commit is contained in:
commit
ebf9278b79
@ -1042,9 +1042,9 @@ angular.module('OpenSlidesApp.motions.site', [
|
|||||||
return Projector.lastModified();
|
return Projector.lastModified();
|
||||||
}, function () {
|
}, function () {
|
||||||
$scope.projectors = Projector.getAll();
|
$scope.projectors = Projector.getAll();
|
||||||
var defaultProjectiondefault = ProjectionDefault.filter({name: 'motions'})[0];
|
var projectiondefault = ProjectionDefault.filter({name: 'motions'})[0];
|
||||||
if (defaultProjectiondefault) {
|
if (projectiondefault) {
|
||||||
$scope.defaultProjectorId = defaultProjector.projector_id;
|
$scope.defaultProjectorId = projectiondefault.projector_id;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$scope.$watch(function () {
|
$scope.$watch(function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user