Skip to main content

Bug Tracker

Side navigation

#13048 closed bug (notabug)

Opened December 13, 2012 01:27PM UTC

Closed December 14, 2012 09:00PM UTC

Is it a normal behaviour on submitting form?

Reported by: erwann.mest@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:
Description

See here: http://jsfiddle.net/mm7Cf/4/

Type any text (or not), just focus on text input, and type enter.

Questions:

  • Why it's the binding on the button which works?
  • Why my binding on the form doesn't work?

If you remove the binding on submit button, my form binding works.

If you remove the binding on form, the submit button binding works, EVEN IF I do not click on the button, just submitting it when focusing on text input and type "enter".

In my opinion, it's not the wrong behaviour.

Typing enter on text input focused should only execute bind on form.

Attachments (0)
Change History (2)

Changed December 13, 2012 01:31PM UTC by erwann.mest@gmail.com comment:1

It could be a DOM bug. Gosh... http://jsfiddle.net/NAaBE/1/

Changed December 14, 2012 09:00PM UTC by dmethvin comment:2

resolution: → notabug
status: newclosed