{"action":"created","comment":{"url":"https://api.github.com/repos/whitesmith/hawkpost/pulls/comments/92194027","pull_request_review_id":12704525,"id":92194027,"diff_hunk":"@@ -36,14 +36,25 @@ $(document).ready(function(){\n     if ($('.radio_button:checked').val() == \"keyserver\") {\n       $(\"#keyserver_url\").show();\n       $(\"#public_key\").hide();\n-      $(\"#public_key\").val('')\n     } else {\n       $(\"#keyserver_url\").hide();\n       $(\"#public_key\").show();\n-      $(\"#keyserver_url\").val('')\n     }\n   });\n-\n+  if($(\"#id_keyserver_url\").val().length != 0) {\n+    $(\"#keyserver_option\").prop(\"checked\", true);\n+    $(\"#keyserver_url\").show();\n+    $(\"#public_key\").hide();\n+  }\n+  $(\"#form\").submit(function(event){\n+    if ($('.radio_button:checked').val() == \"keyserver\") {\n+      $(\"#id_public_key\").val('');\n+      $(\"#id_public_key\").text('');","path":"humans/static/javascripts/update_user_form.js","position":20,"original_position":20,"commit_id":"2b44b66a6c871b31d6474467d2db9d242663807e","original_commit_id":"93d317cab99620451ed432f7900f674f29fe633f","user":{"login":"MariCerv","id":16169314,"avatar_url":"https://avatars.githubusercontent.com/u/16169314?v=3","gravatar_id":"","url":"https://api.github.com/users/MariCerv","html_url":"https://github.com/MariCerv","followers_url":"https://api.github.com/users/MariCerv/followers","following_url":"https://api.github.com/users/MariCerv/following{/other_user}","gists_url":"https://api.github.com/users/MariCerv/gists{/gist_id}","starred_url":"https://api.github.com/users/MariCerv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MariCerv/subscriptions","organizations_url":"https://api.github.com/users/MariCerv/orgs","repos_url":"https://api.github.com/users/MariCerv/repos","events_url":"https://api.github.com/users/MariCerv/events{/privacy}","received_events_url":"https://api.github.com/users/MariCerv/received_events","type":"User","site_admin":false},"body":"This is actually strange but I noticed that doing the .val('') wasn't enough and that it still saved the text that was in the keys. Applying the .text('') was the only way that make everything work and that actually erased the previous text.","created_at":"2016-12-13T15:36:57Z","updated_at":"2016-12-13T15:36:57Z","html_url":"https://github.com/whitesmith/hawkpost/pull/222#discussion_r92194027","pull_request_url":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222","_links":{"self":{"href":"https://api.github.com/repos/whitesmith/hawkpost/pulls/comments/92194027"},"html":{"href":"https://github.com/whitesmith/hawkpost/pull/222#discussion_r92194027"},"pull_request":{"href":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222","id":93605652,"html_url":"https://github.com/whitesmith/hawkpost/pull/222","diff_url":"https://github.com/whitesmith/hawkpost/pull/222.diff","patch_url":"https://github.com/whitesmith/hawkpost/pull/222.patch","issue_url":"https://api.github.com/repos/whitesmith/hawkpost/issues/222","number":222,"state":"open","locked":false,"title":"re-arrange boxes layout","user":{"login":"MariCerv","id":16169314,"avatar_url":"https://avatars.githubusercontent.com/u/16169314?v=3","gravatar_id":"","url":"https://api.github.com/users/MariCerv","html_url":"https://github.com/MariCerv","followers_url":"https://api.github.com/users/MariCerv/followers","following_url":"https://api.github.com/users/MariCerv/following{/other_user}","gists_url":"https://api.github.com/users/MariCerv/gists{/gist_id}","starred_url":"https://api.github.com/users/MariCerv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MariCerv/subscriptions","organizations_url":"https://api.github.com/users/MariCerv/orgs","repos_url":"https://api.github.com/users/MariCerv/repos","events_url":"https://api.github.com/users/MariCerv/events{/privacy}","received_events_url":"https://api.github.com/users/MariCerv/received_events","type":"User","site_admin":false},"body":"- new box-list layout\r\n- added close and delete icons\r\n- added open link icon\r\n- adapted typography colors and sizes\r\n- fixed new box modal sizes and color","created_at":"2016-11-14T17:02:31Z","updated_at":"2016-12-13T15:36:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9e4a5eed65b9026778ad093512a0bbd5149397e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222/commits","review_comments_url":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222/comments","review_comment_url":"https://api.github.com/repos/whitesmith/hawkpost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whitesmith/hawkpost/issues/222/comments","statuses_url":"https://api.github.com/repos/whitesmith/hawkpost/statuses/2b44b66a6c871b31d6474467d2db9d242663807e","head":{"label":"whitesmith:box-list-fix","ref":"box-list-fix","sha":"2b44b66a6c871b31d6474467d2db9d242663807e","user":{"login":"whitesmith","id":5413174,"avatar_url":"https://avatars.githubusercontent.com/u/5413174?v=3","gravatar_id":"","url":"https://api.github.com/users/whitesmith","html_url":"https://github.com/whitesmith","followers_url":"https://api.github.com/users/whitesmith/followers","following_url":"https://api.github.com/users/whitesmith/following{/other_user}","gists_url":"https://api.github.com/users/whitesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/whitesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitesmith/subscriptions","organizations_url":"https://api.github.com/users/whitesmith/orgs","repos_url":"https://api.github.com/users/whitesmith/repos","events_url":"https://api.github.com/users/whitesmith/events{/privacy}","received_events_url":"https://api.github.com/users/whitesmith/received_events","type":"Organization","site_admin":false},"repo":{"id":55302159,"name":"hawkpost","full_name":"whitesmith/hawkpost","owner":{"login":"whitesmith","id":5413174,"avatar_url":"https://avatars.githubusercontent.com/u/5413174?v=3","gravatar_id":"","url":"https://api.github.com/users/whitesmith","html_url":"https://github.com/whitesmith","followers_url":"https://api.github.com/users/whitesmith/followers","following_url":"https://api.github.com/users/whitesmith/following{/other_user}","gists_url":"https://api.github.com/users/whitesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/whitesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitesmith/subscriptions","organizations_url":"https://api.github.com/users/whitesmith/orgs","repos_url":"https://api.github.com/users/whitesmith/repos","events_url":"https://api.github.com/users/whitesmith/events{/privacy}","received_events_url":"https://api.github.com/users/whitesmith/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whitesmith/hawkpost","description":"Generate links that users can use to submit messages encrypted with your public key.","fork":false,"url":"https://api.github.com/repos/whitesmith/hawkpost","forks_url":"https://api.github.com/repos/whitesmith/hawkpost/forks","keys_url":"https://api.github.com/repos/whitesmith/hawkpost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whitesmith/hawkpost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whitesmith/hawkpost/teams","hooks_url":"https://api.github.com/repos/whitesmith/hawkpost/hooks","issue_events_url":"https://api.github.com/repos/whitesmith/hawkpost/issues/events{/number}","events_url":"https://api.github.com/repos/whitesmith/hawkpost/events","assignees_url":"https://api.github.com/repos/whitesmith/hawkpost/assignees{/user}","branches_url":"https://api.github.com/repos/whitesmith/hawkpost/branches{/branch}","tags_url":"https://api.github.com/repos/whitesmith/hawkpost/tags","blobs_url":"https://api.github.com/repos/whitesmith/hawkpost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whitesmith/hawkpost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whitesmith/hawkpost/git/refs{/sha}","trees_url":"https://api.github.com/repos/whitesmith/hawkpost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whitesmith/hawkpost/statuses/{sha}","languages_url":"https://api.github.com/repos/whitesmith/hawkpost/languages","stargazers_url":"https://api.github.com/repos/whitesmith/hawkpost/stargazers","contributors_url":"https://api.github.com/repos/whitesmith/hawkpost/contributors","subscribers_url":"https://api.github.com/repos/whitesmith/hawkpost/subscribers","subscription_url":"https://api.github.com/repos/whitesmith/hawkpost/subscription","commits_url":"https://api.github.com/repos/whitesmith/hawkpost/commits{/sha}","git_commits_url":"https://api.github.com/repos/whitesmith/hawkpost/git/commits{/sha}","comments_url":"https://api.github.com/repos/whitesmith/hawkpost/comments{/number}","issue_comment_url":"https://api.github.com/repos/whitesmith/hawkpost/issues/comments{/number}","contents_url":"https://api.github.com/repos/whitesmith/hawkpost/contents/{+path}","compare_url":"https://api.github.com/repos/whitesmith/hawkpost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whitesmith/hawkpost/merges","archive_url":"https://api.github.com/repos/whitesmith/hawkpost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whitesmith/hawkpost/downloads","issues_url":"https://api.github.com/repos/whitesmith/hawkpost/issues{/number}","pulls_url":"https://api.github.com/repos/whitesmith/hawkpost/pulls{/number}","milestones_url":"https://api.github.com/repos/whitesmith/hawkpost/milestones{/number}","notifications_url":"https://api.github.com/repos/whitesmith/hawkpost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whitesmith/hawkpost/labels{/name}","releases_url":"https://api.github.com/repos/whitesmith/hawkpost/releases{/id}","deployments_url":"https://api.github.com/repos/whitesmith/hawkpost/deployments","created_at":"2016-04-02T15:38:13Z","updated_at":"2016-12-04T09:35:08Z","pushed_at":"2016-12-13T15:31:23Z","git_url":"git://github.com/whitesmith/hawkpost.git","ssh_url":"git@github.com:whitesmith/hawkpost.git","clone_url":"https://github.com/whitesmith/hawkpost.git","svn_url":"https://github.com/whitesmith/hawkpost","homepage":"https://hawkpost.co","size":4916,"stargazers_count":697,"watchers_count":697,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":21,"forks":24,"open_issues":21,"watchers":697,"default_branch":"master"}},"base":{"label":"whitesmith:master","ref":"master","sha":"602a2bf20d3f1474b8770ae493ac6976455a7646","user":{"login":"whitesmith","id":5413174,"avatar_url":"https://avatars.githubusercontent.com/u/5413174?v=3","gravatar_id":"","url":"https://api.github.com/users/whitesmith","html_url":"https://github.com/whitesmith","followers_url":"https://api.github.com/users/whitesmith/followers","following_url":"https://api.github.com/users/whitesmith/following{/other_user}","gists_url":"https://api.github.com/users/whitesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/whitesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitesmith/subscriptions","organizations_url":"https://api.github.com/users/whitesmith/orgs","repos_url":"https://api.github.com/users/whitesmith/repos","events_url":"https://api.github.com/users/whitesmith/events{/privacy}","received_events_url":"https://api.github.com/users/whitesmith/received_events","type":"Organization","site_admin":false},"repo":{"id":55302159,"name":"hawkpost","full_name":"whitesmith/hawkpost","owner":{"login":"whitesmith","id":5413174,"avatar_url":"https://avatars.githubusercontent.com/u/5413174?v=3","gravatar_id":"","url":"https://api.github.com/users/whitesmith","html_url":"https://github.com/whitesmith","followers_url":"https://api.github.com/users/whitesmith/followers","following_url":"https://api.github.com/users/whitesmith/following{/other_user}","gists_url":"https://api.github.com/users/whitesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/whitesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitesmith/subscriptions","organizations_url":"https://api.github.com/users/whitesmith/orgs","repos_url":"https://api.github.com/users/whitesmith/repos","events_url":"https://api.github.com/users/whitesmith/events{/privacy}","received_events_url":"https://api.github.com/users/whitesmith/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whitesmith/hawkpost","description":"Generate links that users can use to submit messages encrypted with your public key.","fork":false,"url":"https://api.github.com/repos/whitesmith/hawkpost","forks_url":"https://api.github.com/repos/whitesmith/hawkpost/forks","keys_url":"https://api.github.com/repos/whitesmith/hawkpost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whitesmith/hawkpost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whitesmith/hawkpost/teams","hooks_url":"https://api.github.com/repos/whitesmith/hawkpost/hooks","issue_events_url":"https://api.github.com/repos/whitesmith/hawkpost/issues/events{/number}","events_url":"https://api.github.com/repos/whitesmith/hawkpost/events","assignees_url":"https://api.github.com/repos/whitesmith/hawkpost/assignees{/user}","branches_url":"https://api.github.com/repos/whitesmith/hawkpost/branches{/branch}","tags_url":"https://api.github.com/repos/whitesmith/hawkpost/tags","blobs_url":"https://api.github.com/repos/whitesmith/hawkpost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whitesmith/hawkpost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whitesmith/hawkpost/git/refs{/sha}","trees_url":"https://api.github.com/repos/whitesmith/hawkpost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whitesmith/hawkpost/statuses/{sha}","languages_url":"https://api.github.com/repos/whitesmith/hawkpost/languages","stargazers_url":"https://api.github.com/repos/whitesmith/hawkpost/stargazers","contributors_url":"https://api.github.com/repos/whitesmith/hawkpost/contributors","subscribers_url":"https://api.github.com/repos/whitesmith/hawkpost/subscribers","subscription_url":"https://api.github.com/repos/whitesmith/hawkpost/subscription","commits_url":"https://api.github.com/repos/whitesmith/hawkpost/commits{/sha}","git_commits_url":"https://api.github.com/repos/whitesmith/hawkpost/git/commits{/sha}","comments_url":"https://api.github.com/repos/whitesmith/hawkpost/comments{/number}","issue_comment_url":"https://api.github.com/repos/whitesmith/hawkpost/issues/comments{/number}","contents_url":"https://api.github.com/repos/whitesmith/hawkpost/contents/{+path}","compare_url":"https://api.github.com/repos/whitesmith/hawkpost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whitesmith/hawkpost/merges","archive_url":"https://api.github.com/repos/whitesmith/hawkpost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whitesmith/hawkpost/downloads","issues_url":"https://api.github.com/repos/whitesmith/hawkpost/issues{/number}","pulls_url":"https://api.github.com/repos/whitesmith/hawkpost/pulls{/number}","milestones_url":"https://api.github.com/repos/whitesmith/hawkpost/milestones{/number}","notifications_url":"https://api.github.com/repos/whitesmith/hawkpost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whitesmith/hawkpost/labels{/name}","releases_url":"https://api.github.com/repos/whitesmith/hawkpost/releases{/id}","deployments_url":"https://api.github.com/repos/whitesmith/hawkpost/deployments","created_at":"2016-04-02T15:38:13Z","updated_at":"2016-12-04T09:35:08Z","pushed_at":"2016-12-13T15:31:23Z","git_url":"git://github.com/whitesmith/hawkpost.git","ssh_url":"git@github.com:whitesmith/hawkpost.git","clone_url":"https://github.com/whitesmith/hawkpost.git","svn_url":"https://github.com/whitesmith/hawkpost","homepage":"https://hawkpost.co","size":4916,"stargazers_count":697,"watchers_count":697,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":21,"forks":24,"open_issues":21,"watchers":697,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222"},"html":{"href":"https://github.com/whitesmith/hawkpost/pull/222"},"issue":{"href":"https://api.github.com/repos/whitesmith/hawkpost/issues/222"},"comments":{"href":"https://api.github.com/repos/whitesmith/hawkpost/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/whitesmith/hawkpost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whitesmith/hawkpost/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/whitesmith/hawkpost/statuses/2b44b66a6c871b31d6474467d2db9d242663807e"}}}}
{"actor":{"display_login":"MariCerv"}}