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
885a7df6
Commit
885a7df6
authored
May 19, 2017
by
Simon Chen
Committed by
GitHub
May 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15155 from edx/schen/learner-490
Update CMS jquery config to remove script evaluation from ajax call
parents
79300c00
0271b447
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
cms/static/cms/js/main.js
+4
-1
No files found.
cms/static/cms/js/main.js
View file @
885a7df6
...
@@ -27,7 +27,10 @@
...
@@ -27,7 +27,10 @@
headers
:
{
headers
:
{
'X-CSRFToken'
:
$
.
cookie
(
'csrftoken'
)
'X-CSRFToken'
:
$
.
cookie
(
'csrftoken'
)
},
},
dataType
:
'json'
dataType
:
'json'
,
content
:
{
script
:
false
}
});
});
$
(
document
).
ajaxError
(
function
(
event
,
jqXHR
,
ajaxSettings
)
{
$
(
document
).
ajaxError
(
function
(
event
,
jqXHR
,
ajaxSettings
)
{
var
msg
,
contentType
,
var
msg
,
contentType
,
...
...
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