Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netteForms.js: fixed issue with button type=submit with html [Closes #…
…137] If button have some HTML inside, like <i class="icon icon-send"></i> and user click on I instead of button, nette thinks there is no submittedBy button, that is not true, as <i> have parent button element, so we need to go thru DOM tree, to check if the button isnt parent of clicked element.
- Loading branch information