documentcloud/backbone — Issue #937: submit event not working on prod version
Author: lopezgonzaloe
Created: 2012-02-02 18:45:29+00:00
State: open

I'm currently working on a project using Backbone for which I want to bind the submit event of a form (instead of attaching an event to the click on the submit button or an Enter keypress). Doing 'submit #form': 'someFunction' works perfect on the Dev version (0.9.0) but when I switch to the prod version this won't work at all. However, if I handle click and keypress events works just fine, even with the Prod version, this issue is just happening with the minified file.