Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit e369000

Browse files
authored
Merge pull request #162 from noherczeg/patch-1
fix reference error
2 parents a05982f + 6df1c01 commit e369000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation-common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ angular
816816
var formName = (!!formObj) ? formObj.getAttribute("name") : null;
817817

818818
if (!!formObj && !!formName) {
819-
parentForm = (!!_globalOptions && !!_globalOptions.controllerAs && formName.indexOf('.') >= 0)
819+
var parentForm = (!!_globalOptions && !!_globalOptions.controllerAs && formName.indexOf('.') >= 0)
820820
? objectFindById(self.scope, formName, '.')
821821
: self.scope[formName];
822822

0 commit comments

Comments
 (0)