{"action":"closed","number":328,"pull_request":{"url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/328","id":31864595,"html_url":"https://github.com/CruGlobal/mpdx/pull/328","diff_url":"https://github.com/CruGlobal/mpdx/pull/328.diff","patch_url":"https://github.com/CruGlobal/mpdx/pull/328.patch","issue_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/328","number":328,"state":"closed","locked":false,"title":"Disable deleted item inputs to avoid validation issues","user":{"login":"draffensperger","id":2855507,"avatar_url":"https://avatars.githubusercontent.com/u/2855507?v=3","gravatar_id":"","url":"https://api.github.com/users/draffensperger","html_url":"https://github.com/draffensperger","followers_url":"https://api.github.com/users/draffensperger/followers","following_url":"https://api.github.com/users/draffensperger/following{/other_user}","gists_url":"https://api.github.com/users/draffensperger/gists{/gist_id}","starred_url":"https://api.github.com/users/draffensperger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draffensperger/subscriptions","organizations_url":"https://api.github.com/users/draffensperger/orgs","repos_url":"https://api.github.com/users/draffensperger/repos","events_url":"https://api.github.com/users/draffensperger/events{/privacy}","received_events_url":"https://api.github.com/users/draffensperger/received_events","type":"User","site_admin":false},"body":"A user wrote it about having problems saving a contact that had invalid email addresses due to a name being in it e.g. \"John Doe <john.doe@example.com>\". She said that when she would delete the email address and save the form it would do nothing. It turns out that when you click the delete button next to an email address it hides the elements but the browser still tries to validate the hidden elements and then has an issue trying to focus the hidden invalid element to display the error message. The best solution seems to be to disable the hidden elements of items marked to be deleted (this [stack overflow post](http://stackoverflow.com/questions/22148080/an-invalid-form-control-with-name-is-not-focusable) has more on the issue in general).","created_at":"2015-03-24T20:05:26Z","updated_at":"2015-03-24T22:08:13Z","closed_at":"2015-03-24T22:08:13Z","merged_at":"2015-03-24T22:08:13Z","merge_commit_sha":"69d565eac47485bd6d9c62a45d136a85c9efc58a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/328/commits","review_comments_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/328/comments","review_comment_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/328/comments","statuses_url":"https://api.github.com/repos/CruGlobal/mpdx/statuses/bb500442d62c78829f835c8cbbe4732633c9813f","head":{"label":"CruGlobal:disable-deleted-item-inputs","ref":"disable-deleted-item-inputs","sha":"bb500442d62c78829f835c8cbbe4732633c9813f","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":4625882,"name":"mpdx","full_name":"CruGlobal/mpdx","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/mpdx","description":"Web based tool to help missionaries stay in touch with ministry partners","fork":false,"url":"https://api.github.com/repos/CruGlobal/mpdx","forks_url":"https://api.github.com/repos/CruGlobal/mpdx/forks","keys_url":"https://api.github.com/repos/CruGlobal/mpdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/mpdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/mpdx/teams","hooks_url":"https://api.github.com/repos/CruGlobal/mpdx/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/mpdx/events","assignees_url":"https://api.github.com/repos/CruGlobal/mpdx/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/mpdx/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/mpdx/tags","blobs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/mpdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/mpdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/mpdx/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/mpdx/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/mpdx/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/mpdx/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/mpdx/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/mpdx/subscription","commits_url":"https://api.github.com/repos/CruGlobal/mpdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/mpdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/mpdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/comments{/number}","contents_url":"https://api.github.com/repos/CruGlobal/mpdx/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/mpdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/mpdx/merges","archive_url":"https://api.github.com/repos/CruGlobal/mpdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/mpdx/downloads","issues_url":"https://api.github.com/repos/CruGlobal/mpdx/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/mpdx/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/mpdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/mpdx/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/mpdx/releases{/id}","created_at":"2012-06-11T14:26:20Z","updated_at":"2015-03-24T20:17:10Z","pushed_at":"2015-03-24T22:08:13Z","git_url":"git://github.com/CruGlobal/mpdx.git","ssh_url":"git@github.com:CruGlobal/mpdx.git","clone_url":"https://github.com/CruGlobal/mpdx.git","svn_url":"https://github.com/CruGlobal/mpdx","homepage":"https://mpdx.org","size":394374,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":8,"default_branch":"master"}},"base":{"label":"CruGlobal:design-v2","ref":"design-v2","sha":"2096b8a46dfe0cee13d6a1edf418dc55e5ea258a","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":4625882,"name":"mpdx","full_name":"CruGlobal/mpdx","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/mpdx","description":"Web based tool to help missionaries stay in touch with ministry partners","fork":false,"url":"https://api.github.com/repos/CruGlobal/mpdx","forks_url":"https://api.github.com/repos/CruGlobal/mpdx/forks","keys_url":"https://api.github.com/repos/CruGlobal/mpdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/mpdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/mpdx/teams","hooks_url":"https://api.github.com/repos/CruGlobal/mpdx/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/mpdx/events","assignees_url":"https://api.github.com/repos/CruGlobal/mpdx/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/mpdx/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/mpdx/tags","blobs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/mpdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/mpdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/mpdx/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/mpdx/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/mpdx/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/mpdx/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/mpdx/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/mpdx/subscription","commits_url":"https://api.github.com/repos/CruGlobal/mpdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/mpdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/mpdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/comments{/number}","contents_url":"https://api.github.com/repos/CruGlobal/mpdx/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/mpdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/mpdx/merges","archive_url":"https://api.github.com/repos/CruGlobal/mpdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/mpdx/downloads","issues_url":"https://api.github.com/repos/CruGlobal/mpdx/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/mpdx/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/mpdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/mpdx/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/mpdx/releases{/id}","created_at":"2012-06-11T14:26:20Z","updated_at":"2015-03-24T20:17:10Z","pushed_at":"2015-03-24T22:08:13Z","git_url":"git://github.com/CruGlobal/mpdx.git","ssh_url":"git@github.com:CruGlobal/mpdx.git","clone_url":"https://github.com/CruGlobal/mpdx.git","svn_url":"https://github.com/CruGlobal/mpdx","homepage":"https://mpdx.org","size":394374,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/328"},"html":{"href":"https://github.com/CruGlobal/mpdx/pull/328"},"issue":{"href":"https://api.github.com/repos/CruGlobal/mpdx/issues/328"},"comments":{"href":"https://api.github.com/repos/CruGlobal/mpdx/issues/328/comments"},"review_comments":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/328/comments"},"review_comment":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/328/commits"},"statuses":{"href":"https://api.github.com/repos/CruGlobal/mpdx/statuses/bb500442d62c78829f835c8cbbe4732633c9813f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"draffensperger","id":2855507,"avatar_url":"https://avatars.githubusercontent.com/u/2855507?v=3","gravatar_id":"","url":"https://api.github.com/users/draffensperger","html_url":"https://github.com/draffensperger","followers_url":"https://api.github.com/users/draffensperger/followers","following_url":"https://api.github.com/users/draffensperger/following{/other_user}","gists_url":"https://api.github.com/users/draffensperger/gists{/gist_id}","starred_url":"https://api.github.com/users/draffensperger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draffensperger/subscriptions","organizations_url":"https://api.github.com/users/draffensperger/orgs","repos_url":"https://api.github.com/users/draffensperger/repos","events_url":"https://api.github.com/users/draffensperger/events{/privacy}","received_events_url":"https://api.github.com/users/draffensperger/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"commits":1,"additions":3,"deletions":1,"changed_files":1}}