diff --git a/cms/djangoapps/contentstore/views.py b/cms/djangoapps/contentstore/views.py index 4a6cb4787b..2d27a1d258 100644 --- a/cms/djangoapps/contentstore/views.py +++ b/cms/djangoapps/contentstore/views.py @@ -364,6 +364,7 @@ def save_item(request): if not has_access(request.user, item_location): raise Http404 # TODO (vshnayder): better error + logging.debug(request.POST['data']) if request.POST['data']: data = request.POST['data'] modulestore().update_item(item_location, data) diff --git a/common/lib/xmodule/xmodule/js/src/html/edit.coffee b/common/lib/xmodule/xmodule/js/src/html/edit.coffee index b2ed0aebf8..b7699953e6 100644 --- a/common/lib/xmodule/xmodule/js/src/html/edit.coffee +++ b/common/lib/xmodule/xmodule/js/src/html/edit.coffee @@ -4,4 +4,6 @@ class @HTMLEditingDescriptor mode: "text/html" }) - save: -> @edit_box.getValue() + save: -> + data: @edit_box.getValue() +