From 14f2f67c78f43f525df8f511df53532fd9d78068 Mon Sep 17 00:00:00 2001 From: "Dave St.Germain" Date: Mon, 28 Apr 2014 17:01:03 -0400 Subject: [PATCH] Set the page in the correct place. --- lms/djangoapps/staticbook/views.py | 1 + lms/templates/static_pdfbook.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/staticbook/views.py b/lms/djangoapps/staticbook/views.py index 17d886be11..4d01d667c1 100644 --- a/lms/djangoapps/staticbook/views.py +++ b/lms/djangoapps/staticbook/views.py @@ -101,6 +101,7 @@ def pdf_index(request, course_id, book_index, chapter=None, page=None): viewer_params += current_chapter['url'] current_url = current_chapter['url'] + viewer_params += '#zoom=page-fit' if page is not None: viewer_params += '&page={}'.format(page) diff --git a/lms/templates/static_pdfbook.html b/lms/templates/static_pdfbook.html index da70745b3f..bbef467bc0 100644 --- a/lms/templates/static_pdfbook.html +++ b/lms/templates/static_pdfbook.html @@ -44,7 +44,7 @@ $(function(){