Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit <form> didnt work #6

Open
svox1 opened this issue Apr 25, 2014 · 2 comments
Open

Submit <form> didnt work #6

svox1 opened this issue Apr 25, 2014 · 2 comments

Comments

@svox1
Copy link

svox1 commented Apr 25, 2014

Thanks for sharing your ember-fastclick with us! Great script.

I have found a Bug with submitting a form in HandlebarsJS:

<form {{action "login" on="submit"}}>
....
 <button type="submit">
  Login
 </button>

This didnt work anymore ive I used your Script.

In Line 129 i add some Debug Code:

console.log("EventName: " + action.eventName + " # " + eventName);

If I click the Button, it prints:

EventName: submit # click  

Eventnames are different.

Is it possible to extend your script that submitting forms also works?

@NkS90
Copy link

NkS90 commented Apr 29, 2014

@svox1 It works fine to me.

@svox1
Copy link
Author

svox1 commented Jun 3, 2014

Hm strange. It didnt work for me...

This works for me:
svox1@b420aad

And another hack for faster input and textareas:
svox1@85c09a4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants