Skip to content

Commit 58180ca

Browse files
author
Klaus Krapfenbauer
committed
Added patch by Arun for builder.js
1 parent 6afa333 commit 58180ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/services/builder.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ angular.module('schemaForm').provider('sfBuilder', ['sfPathProvider', function(s
118118
var children = args.fieldFrag.children || args.fieldFrag.childNodes;
119119
for (var i = 0; i < children.length; i++) {
120120
var child = children[i];
121+
122+
if('getAttribute' in child === false) {
123+
continue;
124+
}
125+
121126
var ngIf = child.getAttribute('ng-if');
122127
child.setAttribute(
123128
'ng-if',

0 commit comments

Comments
 (0)