Commit 8efcc991 authored by Boris Kocherov's avatar Boris Kocherov

fix notify changes after render() without edit if document undefined

parent 8a1f11f1
...@@ -727,7 +727,6 @@ ...@@ -727,7 +727,6 @@
type = json_field.type[0]; type = json_field.type[0];
} }
if (["object", "array"].indexOf(type) >= 0 && if (["object", "array"].indexOf(type) >= 0 &&
default_value !== undefined &&
getDocumentType(default_value) !== type) { getDocumentType(default_value) !== type) {
if (gadget.props.saveOrigValue) { if (gadget.props.saveOrigValue) {
// XXX is not useful for user // XXX is not useful for user
......
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