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
ac6749ac
Commit
ac6749ac
authored
Mar 31, 2016
by
Nimisha Asthagiri
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12006 from edx/sstudent/enable-next-pre
Enable next/prev button across sections
parents
0c604da9
53e6611f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
9 deletions
+1
-9
lms/djangoapps/courseware/views.py
+1
-3
lms/envs/bok_choy.py
+0
-3
lms/envs/common.py
+0
-3
No files found.
lms/djangoapps/courseware/views.py
View file @
ac6749ac
...
...
@@ -558,9 +558,7 @@ def _index_bulk_op(request, course_key, chapter, section, position):
save_child_position
(
chapter_descriptor
,
section
)
section_render_context
=
{
'activate_block_id'
:
request
.
GET
.
get
(
'activate_block_id'
),
'redirect_url_func'
:
(
get_redirect_url
if
settings
.
FEATURES
.
get
(
'ENABLE_NEXT_BUTTON_ACROSS_SECTIONS'
)
else
None
),
'redirect_url_func'
:
get_redirect_url
,
'requested_child'
:
request
.
GET
.
get
(
"child"
),
}
context
[
'accordion'
]
=
render_accordion
(
user
,
request
,
course
,
chapter
,
section
,
field_data_cache
)
...
...
lms/envs/bok_choy.py
View file @
ac6749ac
...
...
@@ -162,9 +162,6 @@ FEATURES['ENABLE_COURSEWARE_SEARCH'] = True
# Enable dashboard search for tests
FEATURES
[
'ENABLE_DASHBOARD_SEARCH'
]
=
True
# Enable cross-section Next button for tests
FEATURES
[
'ENABLE_NEXT_BUTTON_ACROSS_SECTIONS'
]
=
True
# Use MockSearchEngine as the search engine for test scenario
SEARCH_ENGINE
=
"search.tests.mock_search_engine.MockSearchEngine"
# Path at which to store the mock index
...
...
lms/envs/common.py
View file @
ac6749ac
...
...
@@ -372,9 +372,6 @@ FEATURES = {
# lives in the Extended table, saving the frontend from
# making multiple queries.
'ENABLE_READING_FROM_MULTIPLE_HISTORY_TABLES'
:
True
,
# Enable Next Button to jump sequences in Sequence Navigation bar.
'ENABLE_NEXT_BUTTON_ACROSS_SECTIONS'
:
False
,
}
# Ignore static asset files on import which match this pattern
...
...
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