Merge pull request #3249 from FinnStutzenstein/MediafilePdfPageFix
Fixing page controls in mediafiles list view
This commit is contained in:
commit
601e2ea2b5
@ -188,10 +188,11 @@ angular.module('OpenSlidesApp.mediafiles.list', [
|
||||
};
|
||||
|
||||
$scope.mediafileGoToPage = function (mediafile, page) {
|
||||
if (parseInt(page) > 0) {
|
||||
page = parseInt(page);
|
||||
if (page > 0 && page <= mediafile.numPages) {
|
||||
sendMediafileCommand(
|
||||
mediafile,
|
||||
{page: parseInt(page)}
|
||||
{page: page}
|
||||
);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user