Skip to content

Commit fbc3262

Browse files
committed
add
1 parent 120fd76 commit fbc3262

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dist/js/brutusin-json-forms.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ if (typeof brutusin === "undefined") {
614614
appendChild(patdiv, addButton, s);
615615
if (value) {
616616
for (var p in value) {
617-
if (s.properties.hasOwnProperty(p)) {
617+
if (s.properties && s.properties.hasOwnProperty(p)) {
618618
continue;
619619
}
620620
var r = RegExp(pattern);
@@ -803,7 +803,6 @@ if (typeof brutusin === "undefined") {
803803
} else {
804804
render(null, form, "$", null, null);
805805
}
806-
rendered = true;
807806
if (dependencyMap.hasOwnProperty("$")) {
808807
onDependencyChanged("$");
809808
}

0 commit comments

Comments
 (0)