{"action":"created","comment":{"url":"https://api.github.com/repos/texas-justice-initiative/website/pulls/comments/228766757","pull_request_review_id":169110972,"id":228766757,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODc2Njc1Nw==","diff_hunk":"@@ -20,14 +20,21 @@ jQuery(document).ready(function($){\n \t});\n \n \t// Verify form details upon submit\n-\t$('.tji-donation-submit').click(function() {\n-\t\tevent.preventDefault();\n-\t\t\n+\t$('#js-donation_form').on(\"submit\", function(e) {\n+\t\te.preventDefault();\n+\n \t\tif ($('.selected').length) {\n \t\t\tvar payFee = document.getElementById('tax').checked,\n \t\t\t\t\tdonation = parseInt($('.selected').val()),\n \t\t\t\t\tfee = 0,\n \t\t\t\t\ttotal;\n+\n+\t\t\t/* Check for valid donation amount */\n+\t\t\tif (isNaN(donation) || donation == 0) {","path":"js/tji-donate.js","position":17,"original_position":17,"commit_id":"868148e208191994796eae974379dd3a2b6a9f7b","original_commit_id":"868148e208191994796eae974379dd3a2b6a9f7b","user":{"login":"LayaTaal","id":22242017,"node_id":"MDQ6VXNlcjIyMjQyMDE3","avatar_url":"https://avatars3.githubusercontent.com/u/22242017?v=4","gravatar_id":"","url":"https://api.github.com/users/LayaTaal","html_url":"https://github.com/LayaTaal","followers_url":"https://api.github.com/users/LayaTaal/followers","following_url":"https://api.github.com/users/LayaTaal/following{/other_user}","gists_url":"https://api.github.com/users/LayaTaal/gists{/gist_id}","starred_url":"https://api.github.com/users/LayaTaal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LayaTaal/subscriptions","organizations_url":"https://api.github.com/users/LayaTaal/orgs","repos_url":"https://api.github.com/users/LayaTaal/repos","events_url":"https://api.github.com/users/LayaTaal/events{/privacy}","received_events_url":"https://api.github.com/users/LayaTaal/received_events","type":"User","site_admin":false},"body":"Hmm, why !isNan? I used \"donation == 0\" because the pattern matching in the html actually catches negative numbers. Should I go ahead and test here also?","created_at":"2018-10-28T21:43:28Z","updated_at":"2018-10-28T21:43:28Z","html_url":"https://github.com/texas-justice-initiative/website/pull/106#discussion_r228766757","pull_request_url":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/texas-justice-initiative/website/pulls/comments/228766757"},"html":{"href":"https://github.com/texas-justice-initiative/website/pull/106#discussion_r228766757"},"pull_request":{"href":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106"}},"in_reply_to_id":228766505},"pull_request":{"url":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106","id":225880768,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1ODgwNzY4","html_url":"https://github.com/texas-justice-initiative/website/pull/106","diff_url":"https://github.com/texas-justice-initiative/website/pull/106.diff","patch_url":"https://github.com/texas-justice-initiative/website/pull/106.patch","issue_url":"https://api.github.com/repos/texas-justice-initiative/website/issues/106","number":106,"state":"open","locked":false,"title":"Sd gitfix jzdonationform2","user":{"login":"ifsimicoded","id":3039125,"node_id":"MDQ6VXNlcjMwMzkxMjU=","avatar_url":"https://avatars3.githubusercontent.com/u/3039125?v=4","gravatar_id":"","url":"https://api.github.com/users/ifsimicoded","html_url":"https://github.com/ifsimicoded","followers_url":"https://api.github.com/users/ifsimicoded/followers","following_url":"https://api.github.com/users/ifsimicoded/following{/other_user}","gists_url":"https://api.github.com/users/ifsimicoded/gists{/gist_id}","starred_url":"https://api.github.com/users/ifsimicoded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifsimicoded/subscriptions","organizations_url":"https://api.github.com/users/ifsimicoded/orgs","repos_url":"https://api.github.com/users/ifsimicoded/repos","events_url":"https://api.github.com/users/ifsimicoded/events{/privacy}","received_events_url":"https://api.github.com/users/ifsimicoded/received_events","type":"User","site_admin":false},"body":"This is @LayaTaal's last two commit from PR #99 applied on top of the latest master to avoid strange diff's from an older version of master when the jz-donationform branch was originally created.\r\n\r\nThis should fix validation errors on the donation form per @LayaTaal's original PR.","created_at":"2018-10-25T19:44:38Z","updated_at":"2018-10-28T21:43:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e0153adeda2e1af718dab12e614c17a30803c62","assignee":null,"assignees":[],"requested_reviewers":[{"login":"LayaTaal","id":22242017,"node_id":"MDQ6VXNlcjIyMjQyMDE3","avatar_url":"https://avatars3.githubusercontent.com/u/22242017?v=4","gravatar_id":"","url":"https://api.github.com/users/LayaTaal","html_url":"https://github.com/LayaTaal","followers_url":"https://api.github.com/users/LayaTaal/followers","following_url":"https://api.github.com/users/LayaTaal/following{/other_user}","gists_url":"https://api.github.com/users/LayaTaal/gists{/gist_id}","starred_url":"https://api.github.com/users/LayaTaal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LayaTaal/subscriptions","organizations_url":"https://api.github.com/users/LayaTaal/orgs","repos_url":"https://api.github.com/users/LayaTaal/repos","events_url":"https://api.github.com/users/LayaTaal/events{/privacy}","received_events_url":"https://api.github.com/users/LayaTaal/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106/commits","review_comments_url":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106/comments","review_comment_url":"https://api.github.com/repos/texas-justice-initiative/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/texas-justice-initiative/website/issues/106/comments","statuses_url":"https://api.github.com/repos/texas-justice-initiative/website/statuses/868148e208191994796eae974379dd3a2b6a9f7b","head":{"label":"texas-justice-initiative:sd-gitfix-jzdonationform2","ref":"sd-gitfix-jzdonationform2","sha":"868148e208191994796eae974379dd3a2b6a9f7b","user":{"login":"texas-justice-initiative","id":38388131,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Mzg4MTMx","avatar_url":"https://avatars1.githubusercontent.com/u/38388131?v=4","gravatar_id":"","url":"https://api.github.com/users/texas-justice-initiative","html_url":"https://github.com/texas-justice-initiative","followers_url":"https://api.github.com/users/texas-justice-initiative/followers","following_url":"https://api.github.com/users/texas-justice-initiative/following{/other_user}","gists_url":"https://api.github.com/users/texas-justice-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/texas-justice-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texas-justice-initiative/subscriptions","organizations_url":"https://api.github.com/users/texas-justice-initiative/orgs","repos_url":"https://api.github.com/users/texas-justice-initiative/repos","events_url":"https://api.github.com/users/texas-justice-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/texas-justice-initiative/received_events","type":"Organization","site_admin":false},"repo":{"id":136845784,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4NDU3ODQ=","name":"website","full_name":"texas-justice-initiative/website","private":false,"owner":{"login":"texas-justice-initiative","id":38388131,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Mzg4MTMx","avatar_url":"https://avatars1.githubusercontent.com/u/38388131?v=4","gravatar_id":"","url":"https://api.github.com/users/texas-justice-initiative","html_url":"https://github.com/texas-justice-initiative","followers_url":"https://api.github.com/users/texas-justice-initiative/followers","following_url":"https://api.github.com/users/texas-justice-initiative/following{/other_user}","gists_url":"https://api.github.com/users/texas-justice-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/texas-justice-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texas-justice-initiative/subscriptions","organizations_url":"https://api.github.com/users/texas-justice-initiative/orgs","repos_url":"https://api.github.com/users/texas-justice-initiative/repos","events_url":"https://api.github.com/users/texas-justice-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/texas-justice-initiative/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/texas-justice-initiative/website","description":null,"fork":false,"url":"https://api.github.com/repos/texas-justice-initiative/website","forks_url":"https://api.github.com/repos/texas-justice-initiative/website/forks","keys_url":"https://api.github.com/repos/texas-justice-initiative/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/texas-justice-initiative/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/texas-justice-initiative/website/teams","hooks_url":"https://api.github.com/repos/texas-justice-initiative/website/hooks","issue_events_url":"https://api.github.com/repos/texas-justice-initiative/website/issues/events{/number}","events_url":"https://api.github.com/repos/texas-justice-initiative/website/events","assignees_url":"https://api.github.com/repos/texas-justice-initiative/website/assignees{/user}","branches_url":"https://api.github.com/repos/texas-justice-initiative/website/branches{/branch}","tags_url":"https://api.github.com/repos/texas-justice-initiative/website/tags","blobs_url":"https://api.github.com/repos/texas-justice-initiative/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/texas-justice-initiative/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/texas-justice-initiative/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/texas-justice-initiative/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/texas-justice-initiative/website/statuses/{sha}","languages_url":"https://api.github.com/repos/texas-justice-initiative/website/languages","stargazers_url":"https://api.github.com/repos/texas-justice-initiative/website/stargazers","contributors_url":"https://api.github.com/repos/texas-justice-initiative/website/contributors","subscribers_url":"https://api.github.com/repos/texas-justice-initiative/website/subscribers","subscription_url":"https://api.github.com/repos/texas-justice-initiative/website/subscription","commits_url":"https://api.github.com/repos/texas-justice-initiative/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/texas-justice-initiative/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/texas-justice-initiative/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/texas-justice-initiative/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/texas-justice-initiative/website/contents/{+path}","compare_url":"https://api.github.com/repos/texas-justice-initiative/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/texas-justice-initiative/website/merges","archive_url":"https://api.github.com/repos/texas-justice-initiative/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/texas-justice-initiative/website/downloads","issues_url":"https://api.github.com/repos/texas-justice-initiative/website/issues{/number}","pulls_url":"https://api.github.com/repos/texas-justice-initiative/website/pulls{/number}","milestones_url":"https://api.github.com/repos/texas-justice-initiative/website/milestones{/number}","notifications_url":"https://api.github.com/repos/texas-justice-initiative/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/texas-justice-initiative/website/labels{/name}","releases_url":"https://api.github.com/repos/texas-justice-initiative/website/releases{/id}","deployments_url":"https://api.github.com/repos/texas-justice-initiative/website/deployments","created_at":"2018-06-10T21:20:40Z","updated_at":"2018-10-23T00:23:23Z","pushed_at":"2018-10-28T18:37:18Z","git_url":"git://github.com/texas-justice-initiative/website.git","ssh_url":"git@github.com:texas-justice-initiative/website.git","clone_url":"https://github.com/texas-justice-initiative/website.git","svn_url":"https://github.com/texas-justice-initiative/website","homepage":null,"size":7342,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2,"open_issues":20,"watchers":0,"default_branch":"master"}},"base":{"label":"texas-justice-initiative:master","ref":"master","sha":"dc61b9e476ade55dc4992fd1a9c9290c285ea0cb","user":{"login":"texas-justice-initiative","id":38388131,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Mzg4MTMx","avatar_url":"https://avatars1.githubusercontent.com/u/38388131?v=4","gravatar_id":"","url":"https://api.github.com/users/texas-justice-initiative","html_url":"https://github.com/texas-justice-initiative","followers_url":"https://api.github.com/users/texas-justice-initiative/followers","following_url":"https://api.github.com/users/texas-justice-initiative/following{/other_user}","gists_url":"https://api.github.com/users/texas-justice-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/texas-justice-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texas-justice-initiative/subscriptions","organizations_url":"https://api.github.com/users/texas-justice-initiative/orgs","repos_url":"https://api.github.com/users/texas-justice-initiative/repos","events_url":"https://api.github.com/users/texas-justice-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/texas-justice-initiative/received_events","type":"Organization","site_admin":false},"repo":{"id":136845784,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4NDU3ODQ=","name":"website","full_name":"texas-justice-initiative/website","private":false,"owner":{"login":"texas-justice-initiative","id":38388131,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Mzg4MTMx","avatar_url":"https://avatars1.githubusercontent.com/u/38388131?v=4","gravatar_id":"","url":"https://api.github.com/users/texas-justice-initiative","html_url":"https://github.com/texas-justice-initiative","followers_url":"https://api.github.com/users/texas-justice-initiative/followers","following_url":"https://api.github.com/users/texas-justice-initiative/following{/other_user}","gists_url":"https://api.github.com/users/texas-justice-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/texas-justice-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texas-justice-initiative/subscriptions","organizations_url":"https://api.github.com/users/texas-justice-initiative/orgs","repos_url":"https://api.github.com/users/texas-justice-initiative/repos","events_url":"https://api.github.com/users/texas-justice-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/texas-justice-initiative/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/texas-justice-initiative/website","description":null,"fork":false,"url":"https://api.github.com/repos/texas-justice-initiative/website","forks_url":"https://api.github.com/repos/texas-justice-initiative/website/forks","keys_url":"https://api.github.com/repos/texas-justice-initiative/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/texas-justice-initiative/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/texas-justice-initiative/website/teams","hooks_url":"https://api.github.com/repos/texas-justice-initiative/website/hooks","issue_events_url":"https://api.github.com/repos/texas-justice-initiative/website/issues/events{/number}","events_url":"https://api.github.com/repos/texas-justice-initiative/website/events","assignees_url":"https://api.github.com/repos/texas-justice-initiative/website/assignees{/user}","branches_url":"https://api.github.com/repos/texas-justice-initiative/website/branches{/branch}","tags_url":"https://api.github.com/repos/texas-justice-initiative/website/tags","blobs_url":"https://api.github.com/repos/texas-justice-initiative/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/texas-justice-initiative/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/texas-justice-initiative/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/texas-justice-initiative/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/texas-justice-initiative/website/statuses/{sha}","languages_url":"https://api.github.com/repos/texas-justice-initiative/website/languages","stargazers_url":"https://api.github.com/repos/texas-justice-initiative/website/stargazers","contributors_url":"https://api.github.com/repos/texas-justice-initiative/website/contributors","subscribers_url":"https://api.github.com/repos/texas-justice-initiative/website/subscribers","subscription_url":"https://api.github.com/repos/texas-justice-initiative/website/subscription","commits_url":"https://api.github.com/repos/texas-justice-initiative/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/texas-justice-initiative/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/texas-justice-initiative/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/texas-justice-initiative/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/texas-justice-initiative/website/contents/{+path}","compare_url":"https://api.github.com/repos/texas-justice-initiative/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/texas-justice-initiative/website/merges","archive_url":"https://api.github.com/repos/texas-justice-initiative/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/texas-justice-initiative/website/downloads","issues_url":"https://api.github.com/repos/texas-justice-initiative/website/issues{/number}","pulls_url":"https://api.github.com/repos/texas-justice-initiative/website/pulls{/number}","milestones_url":"https://api.github.com/repos/texas-justice-initiative/website/milestones{/number}","notifications_url":"https://api.github.com/repos/texas-justice-initiative/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/texas-justice-initiative/website/labels{/name}","releases_url":"https://api.github.com/repos/texas-justice-initiative/website/releases{/id}","deployments_url":"https://api.github.com/repos/texas-justice-initiative/website/deployments","created_at":"2018-06-10T21:20:40Z","updated_at":"2018-10-23T00:23:23Z","pushed_at":"2018-10-28T18:37:18Z","git_url":"git://github.com/texas-justice-initiative/website.git","ssh_url":"git@github.com:texas-justice-initiative/website.git","clone_url":"https://github.com/texas-justice-initiative/website.git","svn_url":"https://github.com/texas-justice-initiative/website","homepage":null,"size":7342,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106"},"html":{"href":"https://github.com/texas-justice-initiative/website/pull/106"},"issue":{"href":"https://api.github.com/repos/texas-justice-initiative/website/issues/106"},"comments":{"href":"https://api.github.com/repos/texas-justice-initiative/website/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/texas-justice-initiative/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/texas-justice-initiative/website/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/texas-justice-initiative/website/statuses/868148e208191994796eae974379dd3a2b6a9f7b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"LayaTaal"}}