Commit ad7771fe by Chris Dodge

always load in a new instance of the edit module. It appeared as though on…

always load in a new instance of the edit module. It appeared as though on multiple edits (w/o refreshing page) without creating a new data model, we were always referencing stale content from the previous edit
parent d108af88
......@@ -18,7 +18,6 @@ class CMS.Views.ModuleEdit extends Backbone.View
XModule.loadModule(@$el.find('.xmodule_display'))
loadEdit: ->
if !@module
@module = XModule.loadModule(@$el.find('.xmodule_edit'))
metadata: ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment