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
fedfa7ca
Commit
fedfa7ca
authored
Aug 20, 2013
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tabs.py to properly handle static_asset_path
parent
2fe4895e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
lms/djangoapps/courseware/tabs.py
+2
-1
No files found.
lms/djangoapps/courseware/tabs.py
View file @
fedfa7ca
...
@@ -380,7 +380,8 @@ def get_static_tab_contents(request, course, tab):
...
@@ -380,7 +380,8 @@ def get_static_tab_contents(request, course, tab):
loc
=
Location
(
course
.
location
.
tag
,
course
.
location
.
org
,
course
.
location
.
course
,
'static_tab'
,
tab
[
'url_slug'
])
loc
=
Location
(
course
.
location
.
tag
,
course
.
location
.
org
,
course
.
location
.
course
,
'static_tab'
,
tab
[
'url_slug'
])
model_data_cache
=
ModelDataCache
.
cache_for_descriptor_descendents
(
course
.
id
,
model_data_cache
=
ModelDataCache
.
cache_for_descriptor_descendents
(
course
.
id
,
request
.
user
,
modulestore
()
.
get_instance
(
course
.
id
,
loc
),
depth
=
0
)
request
.
user
,
modulestore
()
.
get_instance
(
course
.
id
,
loc
),
depth
=
0
)
tab_module
=
get_module
(
request
.
user
,
request
,
loc
,
model_data_cache
,
course
.
id
)
tab_module
=
get_module
(
request
.
user
,
request
,
loc
,
model_data_cache
,
course
.
id
,
static_asset_path
=
course
.
lms
.
static_asset_path
)
logging
.
debug
(
'course_module = {0}'
.
format
(
tab_module
))
logging
.
debug
(
'course_module = {0}'
.
format
(
tab_module
))
...
...
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