diff options
| author | Pete Bacon Darwin | 2013-06-11 19:51:07 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-11 21:29:58 +0100 | 
| commit | b6ff8d751f6d76d8a03d01562279d47886c98c66 (patch) | |
| tree | 6f41b2f44d201588535e8fbc0b8ae8cf7d7c0b26 | |
| parent | 4953b49761a791d9ea74bcbe78769fec15d91083 (diff) | |
| download | angular.js-b6ff8d751f6d76d8a03d01562279d47886c98c66.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 197db5ac..43047ad9 100644 --- a/src/ng/directive/ngEventDirs.js +++ b/src/ng/directive/ngEventDirs.js @@ -220,7 +220,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. | 
