diff options
| author | Pete Bacon Darwin | 2013-06-11 19:51:07 +0100 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-11 21:30:10 +0100 |
| commit | 4b6c87b6e7462a5c9e8510d029adb4595dcc3e79 (patch) | |
| tree | 778b0eba617f310df80c03d4c513e56a9b728e66 | |
| parent | ce6c2b207272302f075fb1ef1961a087896f01e1 (diff) | |
| download | angular.js-4b6c87b6e7462a5c9e8510d029adb4595dcc3e79.tar.bz2 | |
docs(ngSubmit): clarify that there must be no `action` attribute
| -rw-r--r-- | src/ng/directive/ngEventDirs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ng/directive/ngEventDirs.js b/src/ng/directive/ngEventDirs.js index 4d079718..4587ac89 100644 --- a/src/ng/directive/ngEventDirs.js +++ b/src/ng/directive/ngEventDirs.js @@ -172,7 +172,8 @@ forEach( * Enables binding angular expressions to onsubmit events. * * Additionally it prevents the default action (which for form means sending the request to the - * server and reloading the current page). + * server and reloading the current page) **but only if the form does not contain an `action` + * attribute**. * * @element form * @param {expression} ngSubmit {@link guide/expression Expression} to eval. |
