{"action":"closed","issue":{"url":"https://api.github.com/repos/waymondo/turboboost/issues/7","labels_url":"https://api.github.com/repos/waymondo/turboboost/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/waymondo/turboboost/issues/7/comments","events_url":"https://api.github.com/repos/waymondo/turboboost/issues/7/events","html_url":"https://github.com/waymondo/turboboost/issues/7","id":56752842,"number":7,"title":"turboboostComplete callback doesn't get invoked, leaving form disabled","user":{"login":"dimroc","id":635121,"avatar_url":"https://avatars.githubusercontent.com/u/635121?v=3","gravatar_id":"","url":"https://api.github.com/users/dimroc","html_url":"https://github.com/dimroc","followers_url":"https://api.github.com/users/dimroc/followers","following_url":"https://api.github.com/users/dimroc/following{/other_user}","gists_url":"https://api.github.com/users/dimroc/gists{/gist_id}","starred_url":"https://api.github.com/users/dimroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimroc/subscriptions","organizations_url":"https://api.github.com/users/dimroc/orgs","repos_url":"https://api.github.com/users/dimroc/repos","events_url":"https://api.github.com/users/dimroc/events{/privacy}","received_events_url":"https://api.github.com/users/dimroc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-06T00:33:16Z","updated_at":"2015-02-15T18:03:33Z","closed_at":"2015-02-15T18:03:33Z","body":"The ajax:complete callback never invokes turboboostComplete. 99% this doesn't matter because you just go to the next page via Turbolinks.visit. But before navigating to the new page, turboboost disables the form, so if a user clicks the back button, the form will remain disabled. This doesn't happen 100% of the time though...\r\n\r\nPerhaps it's an issue with ajax:complete and rails.\r\n\r\n\r\n```coffeescript\r\n$(document)\r\n  .on(\"ajax:beforeSend\", turboboostable, turboboostBeforeSend)\r\n  .on(\"ajax:complete\", turboboostable, turboboostComplete) # turboboostComplete is never invoked\r\n  .on(\"turboboost:error\", \"form#{turboboostable}\", turboboostFormError)\r\n```"}}