aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/form.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/directive/form.js')
-rw-r--r--src/ng/directive/form.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js
index 6b876e01..4f06f093 100644
--- a/src/ng/directive/form.js
+++ b/src/ng/directive/form.js
@@ -117,6 +117,7 @@ function FormController(element, attrs) {
element.removeClass(PRISTINE_CLASS).addClass(DIRTY_CLASS);
form.$dirty = true;
form.$pristine = false;
+ parentForm.$setDirty();
};
}