{"action":"created","issue":{"url":"https://api.github.com/repos/Desertsnowman/Caldera-Forms/issues/404","labels_url":"https://api.github.com/repos/Desertsnowman/Caldera-Forms/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/Desertsnowman/Caldera-Forms/issues/404/comments","events_url":"https://api.github.com/repos/Desertsnowman/Caldera-Forms/issues/404/events","html_url":"https://github.com/Desertsnowman/Caldera-Forms/issues/404","id":128423923,"number":404,"title":"AJAX Submission with Ugly Permalinks Often Redirect To Response JSON","user":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars.githubusercontent.com/u/1994311?v=3","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Desertsnowman/Caldera-Forms/labels/bug:major","name":"bug:major","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"Desertsnowman","id":307466,"avatar_url":"https://avatars.githubusercontent.com/u/307466?v=3","gravatar_id":"","url":"https://api.github.com/users/Desertsnowman","html_url":"https://github.com/Desertsnowman","followers_url":"https://api.github.com/users/Desertsnowman/followers","following_url":"https://api.github.com/users/Desertsnowman/following{/other_user}","gists_url":"https://api.github.com/users/Desertsnowman/gists{/gist_id}","starred_url":"https://api.github.com/users/Desertsnowman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Desertsnowman/subscriptions","organizations_url":"https://api.github.com/users/Desertsnowman/orgs","repos_url":"https://api.github.com/users/Desertsnowman/repos","events_url":"https://api.github.com/users/Desertsnowman/events{/privacy}","received_events_url":"https://api.github.com/users/Desertsnowman/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-24T20:44:17Z","updated_at":"2016-01-26T05:16:25Z","closed_at":null,"body":"Probably caused by fe8f20b2cd28d0c9cafc7f6c49ea0a0b8b8b96a5\r\n\r\nPretty sure that if the if the AJAX fail happens then instead when AJAX fail is triggered of submitting and refreshing page, you just see the response JSON.\r\n\r\nI can't find any 100% reliable way to do this besides enabling turning on pretty permalinks and then preview a form. The preview url uses ugly permalinks, which causes AJAX submissions to fail (secondary issue). When you submit, the right URL is loaded, but only has response JSON.\r\n\r\n![screen shot 2016-01-24 at 3 33 57 pm](https://cloud.githubusercontent.com/assets/1994311/12538750/f9eabb38-c2af-11e5-8063-35c26515c928.png)"},"comment":{"url":"https://api.github.com/repos/Desertsnowman/Caldera-Forms/issues/comments/174836621","html_url":"https://github.com/Desertsnowman/Caldera-Forms/issues/404#issuecomment-174836621","issue_url":"https://api.github.com/repos/Desertsnowman/Caldera-Forms/issues/404","id":174836621,"user":{"login":"Desertsnowman","id":307466,"avatar_url":"https://avatars.githubusercontent.com/u/307466?v=3","gravatar_id":"","url":"https://api.github.com/users/Desertsnowman","html_url":"https://github.com/Desertsnowman","followers_url":"https://api.github.com/users/Desertsnowman/followers","following_url":"https://api.github.com/users/Desertsnowman/following{/other_user}","gists_url":"https://api.github.com/users/Desertsnowman/gists{/gist_id}","starred_url":"https://api.github.com/users/Desertsnowman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Desertsnowman/subscriptions","organizations_url":"https://api.github.com/users/Desertsnowman/orgs","repos_url":"https://api.github.com/users/Desertsnowman/repos","events_url":"https://api.github.com/users/Desertsnowman/events{/privacy}","received_events_url":"https://api.github.com/users/Desertsnowman/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T05:16:25Z","updated_at":"2016-01-26T05:16:25Z","body":"I find it humorous that the issue number is 404"}}