{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/829","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/829/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/829/comments","events_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/829/events","html_url":"https://github.com/aldeed/meteor-autoform/issues/829","id":64600654,"number":829,"title":"onSubmit not called anymore in 5.1","user":{"login":"garenor","id":6201039,"avatar_url":"https://avatars.githubusercontent.com/u/6201039?v=3","gravatar_id":"","url":"https://api.github.com/users/garenor","html_url":"https://github.com/garenor","followers_url":"https://api.github.com/users/garenor/followers","following_url":"https://api.github.com/users/garenor/following{/other_user}","gists_url":"https://api.github.com/users/garenor/gists{/gist_id}","starred_url":"https://api.github.com/users/garenor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garenor/subscriptions","organizations_url":"https://api.github.com/users/garenor/orgs","repos_url":"https://api.github.com/users/garenor/repos","events_url":"https://api.github.com/users/garenor/events{/privacy}","received_events_url":"https://api.github.com/users/garenor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-03-26T18:25:25Z","updated_at":"2015-03-26T20:17:32Z","closed_at":null,"body":"I upgraded to 5.1.0 and all of a sudden none of my forms are working anymore...\r\n\r\nI have the following setup:\r\n\r\n````\r\n{{#autoForm schema=\"shipSchema.exNames\" doc=ship id=\"updateShipExNamesForm\"}}\r\n````\r\n\r\nand a formhandler:\r\n\r\n````\r\nAutoForm.addHooks('updateShipExNamesForm', {\r\n    onSubmit: function (insertDoc, updateDoc, currentDoc) {\r\n        this.event.preventDefault();\r\n        console.log('before update call exnames');\r\n         \r\n        ...\r\n    \r\n        return false;\r\n    },\r\n});\r\n````\r\n\r\nAll my update forms are the same way, none are working in 5.1.0. No problem in 5.0.3. Any ideas?"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/comments/86697811","html_url":"https://github.com/aldeed/meteor-autoform/issues/829#issuecomment-86697811","issue_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/829","id":86697811,"user":{"login":"garenor","id":6201039,"avatar_url":"https://avatars.githubusercontent.com/u/6201039?v=3","gravatar_id":"","url":"https://api.github.com/users/garenor","html_url":"https://github.com/garenor","followers_url":"https://api.github.com/users/garenor/followers","following_url":"https://api.github.com/users/garenor/following{/other_user}","gists_url":"https://api.github.com/users/garenor/gists{/gist_id}","starred_url":"https://api.github.com/users/garenor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garenor/subscriptions","organizations_url":"https://api.github.com/users/garenor/orgs","repos_url":"https://api.github.com/users/garenor/repos","events_url":"https://api.github.com/users/garenor/events{/privacy}","received_events_url":"https://api.github.com/users/garenor/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T20:17:32Z","updated_at":"2015-03-26T20:17:32Z","body":"In the above code you provided, something is going wrong in `var hooks = Hooks.getHooks(this.formId, 'onSubmit');`I quess. If I place a console.log there, it is never called. "}}