{"action":"created","issue":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7304","labels_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7304/labels{/name}","comments_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7304/comments","events_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7304/events","html_url":"https://github.com/wet-boew/wet-boew/issues/7304","id":122798072,"number":7304,"title":"$summaryContainer.detach in formvalid.js throwing error","user":{"login":"soatley","id":9341961,"avatar_url":"https://avatars.githubusercontent.com/u/9341961?v=3","gravatar_id":"","url":"https://api.github.com/users/soatley","html_url":"https://github.com/soatley","followers_url":"https://api.github.com/users/soatley/followers","following_url":"https://api.github.com/users/soatley/following{/other_user}","gists_url":"https://api.github.com/users/soatley/gists{/gist_id}","starred_url":"https://api.github.com/users/soatley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soatley/subscriptions","organizations_url":"https://api.github.com/users/soatley/orgs","repos_url":"https://api.github.com/users/soatley/repos","events_url":"https://api.github.com/users/soatley/events{/privacy}","received_events_url":"https://api.github.com/users/soatley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-17T18:47:21Z","updated_at":"2015-12-18T15:44:08Z","closed_at":null,"body":"There seems to be a problem in the most recent 4.0.19+2 using the Form Validation.  On line 266 of the formvalid.js file, it attempts to detach from the `$summaryContainer` but it hasn't been defined at that point and throws an error in Chrome\r\n`Uncaught TypeError: Cannot read property 'detach' of undefined`\r\n\r\nThe fix I made locally was to just check `$summaryContainer` first and then detach if needed:\r\n\r\n```\r\nif ($summaryContainer) {\r\n     $summaryContainer.detach();\r\n}\r\n```\r\n\r\nNot sure if anyone else is running into this but it seems to be happening on my local install."},"comment":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/comments/165810940","html_url":"https://github.com/wet-boew/wet-boew/issues/7304#issuecomment-165810940","issue_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7304","id":165810940,"user":{"login":"LaurentGoderre","id":1090826,"avatar_url":"https://avatars.githubusercontent.com/u/1090826?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGoderre","html_url":"https://github.com/LaurentGoderre","followers_url":"https://api.github.com/users/LaurentGoderre/followers","following_url":"https://api.github.com/users/LaurentGoderre/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGoderre/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGoderre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGoderre/subscriptions","organizations_url":"https://api.github.com/users/LaurentGoderre/orgs","repos_url":"https://api.github.com/users/LaurentGoderre/repos","events_url":"https://api.github.com/users/LaurentGoderre/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGoderre/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T15:44:08Z","updated_at":"2015-12-18T15:44:08Z","body":"This seems related: https://github.com/rachelywang/wet-boew/commit/b1e10308e1d03338288fc1a452dc921efa557583"}}