NicolasCARPi / jquery_jeditable

jQuery edit in place plugin. Extendable via plugin architecture. Plugins for plugin. Really.
https://jeditable.elabftw.net
MIT License
1.74k stars 459 forks source link

Issue with Non-Functioning Submit in Backbone app #116

Closed m-herbst closed 6 years ago

m-herbst commented 10 years ago

Implemented jeditable in a backbone app. Everything worked fine, except when submitting by onblur and clicking a link on the page.

form.submit() submitted form by http-get-request (url was updated)

  /* prevent double submit if submit was clicked */
                    t = setTimeout(function() {
                        form.submit();
 }, 0);

Got that fixed by changing time till timeout from 200 to 0.

Now i can click the link and the form is submitted correctly.