aboutsummaryrefslogtreecommitdiffstats
path: root/src/Validators.js
diff options
context:
space:
mode:
authorMisko Hevery2010-03-30 15:39:51 -0700
committerMisko Hevery2010-03-30 15:39:51 -0700
commitb5b8f63e1ebc75d09c6faf8dbad6497880deed47 (patch)
tree4a45ae5596a7d12d0ff532b1c105ae1cb07ec376 /src/Validators.js
parenta7d62dcb5533ceb9a7ae47ee27e2054400a0196b (diff)
downloadangular.js-b5b8f63e1ebc75d09c6faf8dbad6497880deed47.tar.bz2
more tests passing
Diffstat (limited to 'src/Validators.js')
-rw-r--r--src/Validators.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Validators.js b/src/Validators.js
index ecf21a01..e3da0a81 100644
--- a/src/Validators.js
+++ b/src/Validators.js
@@ -99,7 +99,7 @@ foreach({
if (cache.state[cache.lastKey] !== null) {
element.removeClass('ng-input-indicator-wait');
}
- elementDecorateError(element, error);
+ elementError(element, NG_VALIDATION_ERROR, error);
});
}