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
d99d9867
Commit
d99d9867
authored
Jul 03, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Point at root url for save_item
parent
9b134aad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cms/static/coffee/unit.coffee
+1
-1
cms/urls.py
+1
-1
No files found.
cms/static/coffee/unit.coffee
View file @
d99d9867
...
...
@@ -4,7 +4,7 @@ class @Unit
$
(
"#
#{
@
element_id
}
.save-update"
).
click
(
event
)
=>
event
.
preventDefault
()
$
.
post
(
"save_item"
,
{
$
.
post
(
"
/
save_item"
,
{
id
:
@
module_id
data
:
JSON
.
stringify
(
@
module
.
save
())
})
...
...
cms/urls.py
View file @
d99d9867
...
...
@@ -6,9 +6,9 @@ from django.conf.urls.defaults import patterns, url
urlpatterns
=
patterns
(
''
,
url
(
r'^$'
,
'contentstore.views.index'
,
name
=
'index'
),
url
(
r'^(?P<org>[^/]+)/(?P<course>[^/]+)/course/(?P<name>[^/]+)$'
,
'contentstore.views.course_index'
,
name
=
'course_index'
),
url
(
r'^edit_item$'
,
'contentstore.views.edit_item'
,
name
=
'edit_item'
),
url
(
r'^save_item$'
,
'contentstore.views.save_item'
,
name
=
'save_item'
),
url
(
r'^(?P<org>[^/]+)/(?P<course>[^/]+)/course/(?P<name>[^/]+)$'
,
'contentstore.views.course_index'
,
name
=
'course_index'
),
url
(
r'^temp_force_export$'
,
'contentstore.views.temp_force_export'
),
url
(
r'^github_service_hook$'
,
'github_sync.views.github_post_receive'
),
)
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