Commit 9f0bb4f8 authored by catch's avatar catch

Issue #2551263 by Berdir, nod_: Deleting entity/field models when markup is...

Issue #2551263 by Berdir, nod_: Deleting entity/field models when markup is removed can result in JS error
parent 646fc6c4
......@@ -635,9 +635,7 @@
this.stopListening();
// Destroy all fields of this entity.
this.get('fields').each(function (fieldModel) {
fieldModel.destroy();
});
this.get('fields').reset();
},
/**
......
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