Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
db82d456
Commit
db82d456
authored
Oct 01, 2014
by
Adam
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5461 from edx/release
Release
parents
183e0410
8323939b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
common/test/acceptance/tests/video/test_video_times.py
+1
-0
lms/djangoapps/staticbook/views.py
+1
-1
lms/templates/static_pdfbook.html
+1
-1
No files found.
common/test/acceptance/tests/video/test_video_times.py
View file @
db82d456
...
...
@@ -33,6 +33,7 @@ class VideoTimesTest(VideoBaseTest):
self
.
assertGreaterEqual
(
int
(
self
.
video
.
position
.
split
(
':'
)[
1
]),
10
)
@skip
(
"Intermittently fails 1 Oct 2014"
)
def
test_video_end_time_with_default_start_time
(
self
):
"""
Scenario: End time works for Youtube video if starts playing from beginning.
...
...
lms/djangoapps/staticbook/views.py
View file @
db82d456
...
...
@@ -106,7 +106,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'
viewer_params
+=
'#zoom=page-fit
&disableRange=true
'
if
page
is
not
None
:
viewer_params
+=
'&page={}'
.
format
(
page
)
...
...
lms/templates/static_pdfbook.html
View file @
db82d456
...
...
@@ -18,7 +18,7 @@ $(function(){
e
.
preventDefault
();
var
url
=
$
(
this
).
attr
(
'rel'
);
$
(
'#viewer-frame'
).
attr
({
'src'
:
'${request.path}?viewer=true&file='
+
url
+
'#zoom=page-fit'
,
'src'
:
'${request.path}?viewer=true&file='
+
url
+
'#zoom=page-fit
&disableRange=true
'
,
'title'
:
$
(
this
).
text
()
});
$
(
'#viewer-frame'
).
focus
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment