diff --git a/djangoapps/courseware/views.py b/djangoapps/courseware/views.py index 313259bdb7..8c1cb3d46e 100644 --- a/djangoapps/courseware/views.py +++ b/djangoapps/courseware/views.py @@ -387,6 +387,7 @@ def quickedit(request, id=None): 'pxmls' : pxmls, 'phtml' : phtml, 'init_js':instance.get_init_js(), + 'csrf':csrf(request)['csrf_token'], } result = render_to_response('quickedit.html', context) diff --git a/templates/quickedit.html b/templates/quickedit.html index c08c5e3f51..35f76b09a7 100644 --- a/templates/quickedit.html +++ b/templates/quickedit.html @@ -53,6 +53,7 @@ function postJSON(url, data, callback) {
+ ${msg|n}