Commit 7f52f7d0 authored by colemanw's avatar colemanw
Browse files

Revert "Reinstate parsing of data from the form"

This reverts commit d31206f9.
parent d1cb246f
......@@ -20,10 +20,7 @@
this.registerEntity = function registerEntity(entity) {
schema[entity.modelName] = entity;
// Permitting entity.data allows the afform to specify variables like
// that has been passing into the afform with the directive that initiates it.
// This is an advanced usage & afJoin is more normal.
data[entity.modelName] = entity.data || {};
data[entity.modelName] = [];
};
this.getEntity = function getEntity(name) {
return schema[name];
......
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