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
99f55266
Commit
99f55266
authored
12 years ago
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not need to pass blacklist keys to client.
parent
84f21379
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
4 deletions
+1
-4
cms/djangoapps/contentstore/views.py
+0
-1
cms/static/js/models/settings/advanced.js
+0
-1
cms/static/js/template_loader.js
+1
-1
cms/templates/settings_advanced.html
+0
-1
No files found.
cms/djangoapps/contentstore/views.py
View file @
99f55266
...
...
@@ -1200,7 +1200,6 @@ def course_config_advanced_page(request, org, course, name):
return
render_to_response
(
'settings_advanced.html'
,
{
'context_course'
:
course_module
,
'course_location'
:
location
,
'advanced_blacklist'
:
json
.
dumps
(
CourseMetadata
.
FILTERED_LIST
),
'advanced_dict'
:
json
.
dumps
(
CourseMetadata
.
fetch
(
location
)),
})
...
...
This diff is collapsed.
Click to expand it.
cms/static/js/models/settings/advanced.js
View file @
99f55266
...
...
@@ -7,7 +7,6 @@ CMS.Models.Settings.Advanced = Backbone.Model.extend({
},
// which keys to send as the deleted keys on next save
deleteKeys
:
[],
blacklistKeys
:
[],
// an array which the controller should populate directly for now [static not instance based]
validate
:
function
(
attrs
)
{
// Keys can no longer be edited. We are currently not validating values.
...
...
This diff is collapsed.
Click to expand it.
cms/static/js/template_loader.js
View file @
99f55266
...
...
@@ -5,7 +5,7 @@
if
(
typeof
window
.
templateLoader
==
'function'
)
return
;
var
templateLoader
=
{
templateVersion
:
"0.0.1
5
"
,
templateVersion
:
"0.0.1
6
"
,
templates
:
{},
loadRemoteTemplate
:
function
(
templateName
,
filename
,
callback
)
{
if
(
!
this
.
templates
[
templateName
])
{
...
...
This diff is collapsed.
Click to expand it.
cms/templates/settings_advanced.html
View file @
99f55266
...
...
@@ -21,7 +21,6 @@ $(document).ready(function () {
// proactively populate advanced b/c it has the filtered list and doesn't really follow the model pattern
var
advancedModel
=
new
CMS
.
Models
.
Settings
.
Advanced
(
$
{
advanced_dict
|
n
},
{
parse
:
true
});
advancedModel
.
blacklistKeys
=
$
{
advanced_blacklist
|
n
};
advancedModel
.
url
=
"${reverse('course_advanced_settings_updates', kwargs=dict(org=context_course.location.org, course=context_course.location.course, name=context_course.location.name))}"
;
var
editor
=
new
CMS
.
Views
.
Settings
.
Advanced
({
...
...
This diff is collapsed.
Click to expand it.
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