{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/34","id":85211813,"html_url":"https://github.com/tanveery/recaptcha-net/pull/34","diff_url":"https://github.com/tanveery/recaptcha-net/pull/34.diff","patch_url":"https://github.com/tanveery/recaptcha-net/pull/34.patch","issue_url":"https://api.github.com/repos/tanveery/recaptcha-net/issues/34","number":34,"state":"open","locked":false,"title":"Added client callback properties for v2","user":{"login":"MagnusJohansson","id":674909,"avatar_url":"https://avatars.githubusercontent.com/u/674909?v=3","gravatar_id":"","url":"https://api.github.com/users/MagnusJohansson","html_url":"https://github.com/MagnusJohansson","followers_url":"https://api.github.com/users/MagnusJohansson/followers","following_url":"https://api.github.com/users/MagnusJohansson/following{/other_user}","gists_url":"https://api.github.com/users/MagnusJohansson/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusJohansson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusJohansson/subscriptions","organizations_url":"https://api.github.com/users/MagnusJohansson/orgs","repos_url":"https://api.github.com/users/MagnusJohansson/repos","events_url":"https://api.github.com/users/MagnusJohansson/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusJohansson/received_events","type":"User","site_admin":false},"body":"This extends the control with the data-callback and data-expired-callback properties.\r\nSo one can enable/disable a submit button:\r\n```\r\n @Html.Recaptcha(dataCallback: \"capenable\", dataExpiredCallback: \"capdisable\")\r\n...\r\n <input type=\"submit\" class=\"btn btn-default\" value=\"Register\" />\r\n   ...\r\n<script type=\"text/javascript\">\r\n        function capenable() {\r\n            $('input[type=\"submit\"]').prop('disabled', false);\r\n        }\r\n        function capdisable() {\r\n            $('input[type=\"submit\"]').prop('disabled', true);\r\n        }\r\n        $(document).ready(function () {\r\n            capdisable();\r\n        });\r\n    </script>\r\n```","created_at":"2016-09-14T11:37:39Z","updated_at":"2016-09-14T11:37:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/34/commits","review_comments_url":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/34/comments","review_comment_url":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tanveery/recaptcha-net/issues/34/comments","statuses_url":"https://api.github.com/repos/tanveery/recaptcha-net/statuses/46c202d5066dda99878237083911f9e750eaafdd","head":{"label":"MagnusJohansson:adding-client-callback-properties","ref":"adding-client-callback-properties","sha":"46c202d5066dda99878237083911f9e750eaafdd","user":{"login":"MagnusJohansson","id":674909,"avatar_url":"https://avatars.githubusercontent.com/u/674909?v=3","gravatar_id":"","url":"https://api.github.com/users/MagnusJohansson","html_url":"https://github.com/MagnusJohansson","followers_url":"https://api.github.com/users/MagnusJohansson/followers","following_url":"https://api.github.com/users/MagnusJohansson/following{/other_user}","gists_url":"https://api.github.com/users/MagnusJohansson/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusJohansson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusJohansson/subscriptions","organizations_url":"https://api.github.com/users/MagnusJohansson/orgs","repos_url":"https://api.github.com/users/MagnusJohansson/repos","events_url":"https://api.github.com/users/MagnusJohansson/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusJohansson/received_events","type":"User","site_admin":false},"repo":{"id":68195527,"name":"recaptcha-net","full_name":"MagnusJohansson/recaptcha-net","owner":{"login":"MagnusJohansson","id":674909,"avatar_url":"https://avatars.githubusercontent.com/u/674909?v=3","gravatar_id":"","url":"https://api.github.com/users/MagnusJohansson","html_url":"https://github.com/MagnusJohansson","followers_url":"https://api.github.com/users/MagnusJohansson/followers","following_url":"https://api.github.com/users/MagnusJohansson/following{/other_user}","gists_url":"https://api.github.com/users/MagnusJohansson/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusJohansson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusJohansson/subscriptions","organizations_url":"https://api.github.com/users/MagnusJohansson/orgs","repos_url":"https://api.github.com/users/MagnusJohansson/repos","events_url":"https://api.github.com/users/MagnusJohansson/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusJohansson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MagnusJohansson/recaptcha-net","description":"reCAPTCHA for .NET library lets you easily use Google's reCAPTCHA in an ASP.NET Web Forms / MVC application. ","fork":true,"url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net","forks_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/forks","keys_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/teams","hooks_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/hooks","issue_events_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/issues/events{/number}","events_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/events","assignees_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/assignees{/user}","branches_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/branches{/branch}","tags_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/tags","blobs_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/git/refs{/sha}","trees_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/statuses/{sha}","languages_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/languages","stargazers_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/stargazers","contributors_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/contributors","subscribers_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/subscribers","subscription_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/subscription","commits_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/commits{/sha}","git_commits_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/git/commits{/sha}","comments_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/comments{/number}","issue_comment_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/issues/comments{/number}","contents_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/contents/{+path}","compare_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/merges","archive_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/downloads","issues_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/issues{/number}","pulls_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/pulls{/number}","milestones_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/milestones{/number}","notifications_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/labels{/name}","releases_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/releases{/id}","deployments_url":"https://api.github.com/repos/MagnusJohansson/recaptcha-net/deployments","created_at":"2016-09-14T10:04:24Z","updated_at":"2016-09-14T10:04:27Z","pushed_at":"2016-09-14T11:34:43Z","git_url":"git://github.com/MagnusJohansson/recaptcha-net.git","ssh_url":"git@github.com:MagnusJohansson/recaptcha-net.git","clone_url":"https://github.com/MagnusJohansson/recaptcha-net.git","svn_url":"https://github.com/MagnusJohansson/recaptcha-net","homepage":"","size":147,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tanveery:master","ref":"master","sha":"c664437b0f19a46e92794c161fe408dfdf8b8dca","user":{"login":"tanveery","id":1931313,"avatar_url":"https://avatars.githubusercontent.com/u/1931313?v=3","gravatar_id":"","url":"https://api.github.com/users/tanveery","html_url":"https://github.com/tanveery","followers_url":"https://api.github.com/users/tanveery/followers","following_url":"https://api.github.com/users/tanveery/following{/other_user}","gists_url":"https://api.github.com/users/tanveery/gists{/gist_id}","starred_url":"https://api.github.com/users/tanveery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanveery/subscriptions","organizations_url":"https://api.github.com/users/tanveery/orgs","repos_url":"https://api.github.com/users/tanveery/repos","events_url":"https://api.github.com/users/tanveery/events{/privacy}","received_events_url":"https://api.github.com/users/tanveery/received_events","type":"User","site_admin":false},"repo":{"id":28556582,"name":"recaptcha-net","full_name":"tanveery/recaptcha-net","owner":{"login":"tanveery","id":1931313,"avatar_url":"https://avatars.githubusercontent.com/u/1931313?v=3","gravatar_id":"","url":"https://api.github.com/users/tanveery","html_url":"https://github.com/tanveery","followers_url":"https://api.github.com/users/tanveery/followers","following_url":"https://api.github.com/users/tanveery/following{/other_user}","gists_url":"https://api.github.com/users/tanveery/gists{/gist_id}","starred_url":"https://api.github.com/users/tanveery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanveery/subscriptions","organizations_url":"https://api.github.com/users/tanveery/orgs","repos_url":"https://api.github.com/users/tanveery/repos","events_url":"https://api.github.com/users/tanveery/events{/privacy}","received_events_url":"https://api.github.com/users/tanveery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tanveery/recaptcha-net","description":"reCAPTCHA for .NET library lets you easily use Google's reCAPTCHA in an ASP.NET Web Forms / MVC application. ","fork":false,"url":"https://api.github.com/repos/tanveery/recaptcha-net","forks_url":"https://api.github.com/repos/tanveery/recaptcha-net/forks","keys_url":"https://api.github.com/repos/tanveery/recaptcha-net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tanveery/recaptcha-net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tanveery/recaptcha-net/teams","hooks_url":"https://api.github.com/repos/tanveery/recaptcha-net/hooks","issue_events_url":"https://api.github.com/repos/tanveery/recaptcha-net/issues/events{/number}","events_url":"https://api.github.com/repos/tanveery/recaptcha-net/events","assignees_url":"https://api.github.com/repos/tanveery/recaptcha-net/assignees{/user}","branches_url":"https://api.github.com/repos/tanveery/recaptcha-net/branches{/branch}","tags_url":"https://api.github.com/repos/tanveery/recaptcha-net/tags","blobs_url":"https://api.github.com/repos/tanveery/recaptcha-net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tanveery/recaptcha-net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tanveery/recaptcha-net/git/refs{/sha}","trees_url":"https://api.github.com/repos/tanveery/recaptcha-net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tanveery/recaptcha-net/statuses/{sha}","languages_url":"https://api.github.com/repos/tanveery/recaptcha-net/languages","stargazers_url":"https://api.github.com/repos/tanveery/recaptcha-net/stargazers","contributors_url":"https://api.github.com/repos/tanveery/recaptcha-net/contributors","subscribers_url":"https://api.github.com/repos/tanveery/recaptcha-net/subscribers","subscription_url":"https://api.github.com/repos/tanveery/recaptcha-net/subscription","commits_url":"https://api.github.com/repos/tanveery/recaptcha-net/commits{/sha}","git_commits_url":"https://api.github.com/repos/tanveery/recaptcha-net/git/commits{/sha}","comments_url":"https://api.github.com/repos/tanveery/recaptcha-net/comments{/number}","issue_comment_url":"https://api.github.com/repos/tanveery/recaptcha-net/issues/comments{/number}","contents_url":"https://api.github.com/repos/tanveery/recaptcha-net/contents/{+path}","compare_url":"https://api.github.com/repos/tanveery/recaptcha-net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tanveery/recaptcha-net/merges","archive_url":"https://api.github.com/repos/tanveery/recaptcha-net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tanveery/recaptcha-net/downloads","issues_url":"https://api.github.com/repos/tanveery/recaptcha-net/issues{/number}","pulls_url":"https://api.github.com/repos/tanveery/recaptcha-net/pulls{/number}","milestones_url":"https://api.github.com/repos/tanveery/recaptcha-net/milestones{/number}","notifications_url":"https://api.github.com/repos/tanveery/recaptcha-net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tanveery/recaptcha-net/labels{/name}","releases_url":"https://api.github.com/repos/tanveery/recaptcha-net/releases{/id}","deployments_url":"https://api.github.com/repos/tanveery/recaptcha-net/deployments","created_at":"2014-12-28T07:39:20Z","updated_at":"2016-09-07T14:51:34Z","pushed_at":"2016-08-05T10:16:50Z","git_url":"git://github.com/tanveery/recaptcha-net.git","ssh_url":"git@github.com:tanveery/recaptcha-net.git","clone_url":"https://github.com/tanveery/recaptcha-net.git","svn_url":"https://github.com/tanveery/recaptcha-net","homepage":"","size":147,"stargazers_count":49,"watchers_count":49,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":24,"forks":32,"open_issues":24,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/34"},"html":{"href":"https://github.com/tanveery/recaptcha-net/pull/34"},"issue":{"href":"https://api.github.com/repos/tanveery/recaptcha-net/issues/34"},"comments":{"href":"https://api.github.com/repos/tanveery/recaptcha-net/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tanveery/recaptcha-net/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/tanveery/recaptcha-net/statuses/46c202d5066dda99878237083911f9e750eaafdd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":836,"deletions":701,"changed_files":5}}
{"actor":{"display_login":"MagnusJohansson"}}