aboutsummaryrefslogtreecommitdiffstats
path: root/src/directive/form.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-13 14:56:52 -0700
committerIgor Minar2012-03-13 16:05:52 -0700
commit4806d28a29ae5c3f83d8f97c11e692ca2313c9ab (patch)
tree914f4e3b2ecdd2f4bccd89bea820da3b2fd54b2d /src/directive/form.js
parent089c0f8b0e64f00e2629de07f35af03f01c34686 (diff)
downloadangular.js-4806d28a29ae5c3f83d8f97c11e692ca2313c9ab.tar.bz2
fix(forms): remove control.$form and use nullFormCtrl
Diffstat (limited to 'src/directive/form.js')
-rw-r--r--src/directive/form.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/directive/form.js b/src/directive/form.js
index a1bfcd12..6bb1b4d6 100644
--- a/src/directive/form.js
+++ b/src/directive/form.js
@@ -4,7 +4,8 @@
var nullFormCtrl = {
$addControl: noop,
$removeControl: noop,
- $setValidity: noop
+ $setValidity: noop,
+ $setDirty: noop
}
/**