Merge pull request #2539 from CatoTH/bugfix-open-motions-in-original-view
Bugfix: Always open motions in original view
This commit is contained in:
commit
b0ff8375a8
@ -452,7 +452,7 @@ angular.module('OpenSlidesApp.motions.motionservices', ['OpenSlidesApp.motions',
|
|||||||
}, 0, false);
|
}, 0, false);
|
||||||
};
|
};
|
||||||
|
|
||||||
obj.init = function (_scope) {
|
obj.init = function (_scope, viewMode) {
|
||||||
$scope = _scope;
|
$scope = _scope;
|
||||||
$scope.$evalAsync(function() {
|
$scope.$evalAsync(function() {
|
||||||
obj.repositionOriginalAnnotations();
|
obj.repositionOriginalAnnotations();
|
||||||
@ -477,6 +477,8 @@ angular.module('OpenSlidesApp.motions.motionservices', ['OpenSlidesApp.motions',
|
|||||||
$scope.$on('$destroy', function() {
|
$scope.$on('$destroy', function() {
|
||||||
$interval.cancel(sizeChecker);
|
$interval.cancel(sizeChecker);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
obj.mode = viewMode;
|
||||||
};
|
};
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
|
@ -1200,7 +1200,7 @@ angular.module('OpenSlidesApp.motions.site', [
|
|||||||
|
|
||||||
// Change recommendation viewing
|
// Change recommendation viewing
|
||||||
$scope.viewChangeRecommendations = ChangeRecommmendationView;
|
$scope.viewChangeRecommendations = ChangeRecommmendationView;
|
||||||
$scope.viewChangeRecommendations.init($scope);
|
$scope.viewChangeRecommendations.init($scope, 'original');
|
||||||
|
|
||||||
// PDF creating functions
|
// PDF creating functions
|
||||||
$scope.pdfExport = MotionPDFExport;
|
$scope.pdfExport = MotionPDFExport;
|
||||||
|
Loading…
Reference in New Issue
Block a user