Changes between Initial Version and Version 2 of Ticket #4982


Ignore:
Timestamp:
Nov 7, 2007, 11:47:21 PM (14 years ago)
Author:
bill
Comment:

Hi Matt, have you filed a CLA? We're very strict about that.

I'm not against that change per se, as long as the Form widget still works.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4982

    • Property Owner changed from anonymous to Douglas Hays
    • Property Component changed from General to Dijit
  • Ticket #4982 – Description

    initial v2  
    11I've noticed a change in behaviour when clicking a button with type="submit" between 0.9 beta and later versions. Say you have the following form:
    22
    3 <form action="foo.php" method="POST" onsubmit="return confirm('Are you sure?')">
     3{{{
     4<form action="foo.php" method="POST"
     5                     onsubmit="return confirm('Are you sure?')">
    46  <button dojoType='dijit.form.Button' type="submit">Save</button>
    57</form>
     8}}}
    69
    710In the beta version of 0.9 the onsubmit event fired when the button was clicked. In later versions it does not.