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

Commit

Permalink
Merge pull request #162 from noherczeg/patch-1
Browse files Browse the repository at this point in the history
fix reference error
  • Loading branch information
ghiscoding authored Aug 16, 2017
2 parents a05982f + 6df1c01 commit e369000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ angular
var formName = (!!formObj) ? formObj.getAttribute("name") : null;

if (!!formObj && !!formName) {
parentForm = (!!_globalOptions && !!_globalOptions.controllerAs && formName.indexOf('.') >= 0)
var parentForm = (!!_globalOptions && !!_globalOptions.controllerAs && formName.indexOf('.') >= 0)
? objectFindById(self.scope, formName, '.')
: self.scope[formName];

Expand Down

0 comments on commit e369000

Please sign in to comment.