{"action":"created","comment":{"url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments/32722983","id":32722983,"diff_hunk":"@@ -52,15 +52,15 @@ onDeleteClick = ->\n     return true\n \n saveUserSettings = ->\n-  if $.cookie(\"hide-offline-cameras\")\n-    $(\"#hide-offline-cameras\").prop(\"checked\", true)\n-    $(\"#lbl-for-hide-cameras span\").addClass(\"checked\")\n-  $(\"#hide-offline-cameras\").on \"click\", ->\n+  if $.cookie(\"show-offline-cameras\")\n+    $(\"#show-offline-cameras\").prop(\"checked\", true)\n+    $(\"#lbl-for-show-cameras span\").addClass(\"checked\")\n+  $(\"#show-offline-cameras\").on \"click\", ->\n     hide_cameras = $(this).prop(\"checked\")\n     if hide_cameras\n-      $.cookie(\"hide-offline-cameras\", $(this).prop(\"checked\"), { expires: 365, path: \"/\" })\n+      $.cookie(\"show-offline-cameras\", $(this).prop(\"checked\"), { expires: 365, path: \"/\" })","path":"app/assets/javascripts/user_account.js.coffee","position":15,"original_position":15,"commit_id":"bcb124f35c6ca144ef8d961d5921e371d883227f","original_commit_id":"bcb124f35c6ca144ef8d961d5921e371d883227f","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line exceeds maximum allowed length","created_at":"2015-06-18T12:15:07Z","updated_at":"2015-06-18T12:15:07Z","html_url":"https://github.com/evercam/evercam-dashboard/pull/577#discussion_r32722983","pull_request_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577","_links":{"self":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments/32722983"},"html":{"href":"https://github.com/evercam/evercam-dashboard/pull/577#discussion_r32722983"},"pull_request":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577"}}},"pull_request":{"url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577","id":37999925,"html_url":"https://github.com/evercam/evercam-dashboard/pull/577","diff_url":"https://github.com/evercam/evercam-dashboard/pull/577.diff","patch_url":"https://github.com/evercam/evercam-dashboard/pull/577.patch","issue_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/577","number":577,"state":"open","locked":false,"title":"Fix broken checkbox","user":{"login":"azharmalik3","id":6176136,"avatar_url":"https://avatars.githubusercontent.com/u/6176136?v=3","gravatar_id":"","url":"https://api.github.com/users/azharmalik3","html_url":"https://github.com/azharmalik3","followers_url":"https://api.github.com/users/azharmalik3/followers","following_url":"https://api.github.com/users/azharmalik3/following{/other_user}","gists_url":"https://api.github.com/users/azharmalik3/gists{/gist_id}","starred_url":"https://api.github.com/users/azharmalik3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azharmalik3/subscriptions","organizations_url":"https://api.github.com/users/azharmalik3/orgs","repos_url":"https://api.github.com/users/azharmalik3/repos","events_url":"https://api.github.com/users/azharmalik3/events{/privacy}","received_events_url":"https://api.github.com/users/azharmalik3/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-18T12:15:00Z","updated_at":"2015-06-18T12:15:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f8334fb05cd0c5e86e656e8252b376fcf560988","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577/commits","review_comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577/comments","review_comment_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/577/comments","statuses_url":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/bcb124f35c6ca144ef8d961d5921e371d883227f","head":{"label":"evercam:fix_broken_checkbox","ref":"fix_broken_checkbox","sha":"bcb124f35c6ca144ef8d961d5921e371d883227f","user":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"repo":{"id":17252115,"name":"evercam-dashboard","full_name":"evercam/evercam-dashboard","owner":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evercam/evercam-dashboard","description":"A Rails application that provides the user facing side of Evercam.","fork":false,"url":"https://api.github.com/repos/evercam/evercam-dashboard","forks_url":"https://api.github.com/repos/evercam/evercam-dashboard/forks","keys_url":"https://api.github.com/repos/evercam/evercam-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evercam/evercam-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evercam/evercam-dashboard/teams","hooks_url":"https://api.github.com/repos/evercam/evercam-dashboard/hooks","issue_events_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/evercam/evercam-dashboard/events","assignees_url":"https://api.github.com/repos/evercam/evercam-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/evercam/evercam-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/tags","blobs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/evercam/evercam-dashboard/languages","stargazers_url":"https://api.github.com/repos/evercam/evercam-dashboard/stargazers","contributors_url":"https://api.github.com/repos/evercam/evercam-dashboard/contributors","subscribers_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscribers","subscription_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscription","commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/evercam/evercam-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/evercam/evercam-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evercam/evercam-dashboard/merges","archive_url":"https://api.github.com/repos/evercam/evercam-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evercam/evercam-dashboard/downloads","issues_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/evercam/evercam-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/evercam/evercam-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evercam/evercam-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/evercam/evercam-dashboard/releases{/id}","created_at":"2014-02-27T14:46:47Z","updated_at":"2015-06-05T21:16:33Z","pushed_at":"2015-06-18T12:15:00Z","git_url":"git://github.com/evercam/evercam-dashboard.git","ssh_url":"git@github.com:evercam/evercam-dashboard.git","clone_url":"https://github.com/evercam/evercam-dashboard.git","svn_url":"https://github.com/evercam/evercam-dashboard","homepage":null,"size":252959,"stargazers_count":4,"watchers_count":4,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":4,"default_branch":"master"}},"base":{"label":"evercam:master","ref":"master","sha":"e936972b29183abcb393cce09ce4a4c20fa73d7d","user":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"repo":{"id":17252115,"name":"evercam-dashboard","full_name":"evercam/evercam-dashboard","owner":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evercam/evercam-dashboard","description":"A Rails application that provides the user facing side of Evercam.","fork":false,"url":"https://api.github.com/repos/evercam/evercam-dashboard","forks_url":"https://api.github.com/repos/evercam/evercam-dashboard/forks","keys_url":"https://api.github.com/repos/evercam/evercam-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evercam/evercam-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evercam/evercam-dashboard/teams","hooks_url":"https://api.github.com/repos/evercam/evercam-dashboard/hooks","issue_events_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/evercam/evercam-dashboard/events","assignees_url":"https://api.github.com/repos/evercam/evercam-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/evercam/evercam-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/tags","blobs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/evercam/evercam-dashboard/languages","stargazers_url":"https://api.github.com/repos/evercam/evercam-dashboard/stargazers","contributors_url":"https://api.github.com/repos/evercam/evercam-dashboard/contributors","subscribers_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscribers","subscription_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscription","commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/evercam/evercam-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/evercam/evercam-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evercam/evercam-dashboard/merges","archive_url":"https://api.github.com/repos/evercam/evercam-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evercam/evercam-dashboard/downloads","issues_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/evercam/evercam-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/evercam/evercam-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evercam/evercam-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/evercam/evercam-dashboard/releases{/id}","created_at":"2014-02-27T14:46:47Z","updated_at":"2015-06-05T21:16:33Z","pushed_at":"2015-06-18T12:15:00Z","git_url":"git://github.com/evercam/evercam-dashboard.git","ssh_url":"git@github.com:evercam/evercam-dashboard.git","clone_url":"https://github.com/evercam/evercam-dashboard.git","svn_url":"https://github.com/evercam/evercam-dashboard","homepage":null,"size":252959,"stargazers_count":4,"watchers_count":4,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577"},"html":{"href":"https://github.com/evercam/evercam-dashboard/pull/577"},"issue":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/issues/577"},"comments":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/issues/577/comments"},"review_comments":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577/comments"},"review_comment":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/577/commits"},"statuses":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/bcb124f35c6ca144ef8d961d5921e371d883227f"}}}}