{"action":"created","issue":{"url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1785","repository_url":"https://api.github.com/repos/jzaefferer/jquery-validation","labels_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1785/labels{/name}","comments_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1785/comments","events_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1785/events","html_url":"https://github.com/jzaefferer/jquery-validation/pull/1785","id":155497773,"number":1785,"title":"Core: Fixed issue with contenteditable elements in forms where events would cause exceptions","user":{"login":"svrx","id":713996,"avatar_url":"https://avatars.githubusercontent.com/u/713996?v=3","gravatar_id":"","url":"https://api.github.com/users/svrx","html_url":"https://github.com/svrx","followers_url":"https://api.github.com/users/svrx/followers","following_url":"https://api.github.com/users/svrx/following{/other_user}","gists_url":"https://api.github.com/users/svrx/gists{/gist_id}","starred_url":"https://api.github.com/users/svrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svrx/subscriptions","organizations_url":"https://api.github.com/users/svrx/orgs","repos_url":"https://api.github.com/users/svrx/repos","events_url":"https://api.github.com/users/svrx/events{/privacy}","received_events_url":"https://api.github.com/users/svrx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-18T13:12:22Z","updated_at":"2016-05-18T14:34:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1785","html_url":"https://github.com/jzaefferer/jquery-validation/pull/1785","diff_url":"https://github.com/jzaefferer/jquery-validation/pull/1785.diff","patch_url":"https://github.com/jzaefferer/jquery-validation/pull/1785.patch"},"body":"Where content editable fields are in a <form> exception will happen. \r\nThis is because form validation process hasn't been triggered, but events on the inputs will trigger their validation.\r\n\r\nThe proposed fix addresses this issue by checking if the elements have been the <form> reference, if they don't and are contenteditable element it will be created at that time.\r\n\r\nThe solution is the same as in $.validator.elements(), but covers another flow for validating a single input field."},"comment":{"url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/comments/220045529","html_url":"https://github.com/jzaefferer/jquery-validation/pull/1785#issuecomment-220045529","issue_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1785","id":220045529,"user":{"login":"Arkni","id":6888059,"avatar_url":"https://avatars.githubusercontent.com/u/6888059?v=3","gravatar_id":"","url":"https://api.github.com/users/Arkni","html_url":"https://github.com/Arkni","followers_url":"https://api.github.com/users/Arkni/followers","following_url":"https://api.github.com/users/Arkni/following{/other_user}","gists_url":"https://api.github.com/users/Arkni/gists{/gist_id}","starred_url":"https://api.github.com/users/Arkni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arkni/subscriptions","organizations_url":"https://api.github.com/users/Arkni/orgs","repos_url":"https://api.github.com/users/Arkni/repos","events_url":"https://api.github.com/users/Arkni/events{/privacy}","received_events_url":"https://api.github.com/users/Arkni/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T14:34:21Z","updated_at":"2016-05-18T14:34:21Z","body":"Yeah, good catch!\r\nI'll close mine and point back to this PR.\r\n\r\n> if needed can resubmit the pull request with style fixed.\r\n\r\nPlease make sure to include a test as well."}}