diff options
| author | Misko Hevery | 2010-04-12 14:30:57 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-04-12 14:30:57 -0700 |
| commit | 841640e540b5e054a97e650bdd7b560680e94840 (patch) | |
| tree | 5ebda5a8e7d847ae634a05a143a92c5d024afc36 /src/validators.js | |
| parent | 2637d4e90c8a43436d21a4b9e790b00ae461c438 (diff) | |
| download | angular.js-841640e540b5e054a97e650bdd7b560680e94840.tar.bz2 | |
removed Meta and allowed binding of HTML
Diffstat (limited to 'src/validators.js')
| -rw-r--r-- | src/validators.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validators.js b/src/validators.js index e3da0a81..4544b96c 100644 --- a/src/validators.js +++ b/src/validators.js @@ -103,9 +103,9 @@ foreach({ }); } - if (state === null){ + if (state === null && this['$invalidWidgets']){ // request in flight, mark widget invalid, but don't show it to user - (this['$invalidWidgets']||[]).push(this.$element); + this['$invalidWidgets'].markInvalid(this.$element); } return state; } |
