{"action":"created","comment":{"url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/comments/74009236","id":74009236,"diff_hunk":"@@ -0,0 +1,53 @@\n+# Based off of http://traz.github.io/tips/2013/tips-modal-destroy-confirmation\n+$ ->\n+  $.rails.allowAction = (element) ->\n+    message = element.data('confirm')\n+\n+    # If there's no message, there's no data-confirm attribute,\n+    # which means there's nothing to confirm\n+    return true unless message\n+\n+    # Otherwise, clone the clicked element (probably a delete link) so we can use it in the dialog box.\n+    $link = element.clone()\n+\n+    # We don't necessarily want the same styling as the original link/button, so remove it.\n+    .removeAttr('class')\n+\n+    # We don't want to pop up another confirmation (recursion)\n+    .removeAttr('data-confirm')\n+\n+    # We *do* want a button\n+    .addClass('btn').addClass('btn-danger')\n+\n+    # We want it to sound confirmy\n+    .html('Yep, really sure')\n+\n+    confirm_id = element.attr 'id'\n+\n+    # Create the modal box with the message\n+    modal_html = \"\"\"\n+             <div class=\"modal fade\" id=\"confirmationDialog-#{confirm_id}\">\n+               <div class=\"modal-dialog\">\n+                 <div class=\"modal-content\">\n+                   <div class=\"modal-header navbar-inverse\">\n+                     <button class=\"btn btn-sm btn-danger glyphicon glyphicon-remove\" data-dismiss=\"modal\" />\n+                     <h4><i class=\"glyphicon glyphicon-warning-sign\"></i>  #{message}</h4>","path":"app/assets/javascripts/confirmation_dialog.coffee","position":34,"original_position":34,"commit_id":"0334ab8dae6160eb71dc854139c76e4f8d1fcbe8","original_commit_id":"0334ab8dae6160eb71dc854139c76e4f8d1fcbe8","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line exceeds maximum allowed length","created_at":"2016-08-09T07:21:39Z","updated_at":"2016-08-09T07:21:39Z","html_url":"https://github.com/Ohmbrewer/ohmbrewer/pull/85#discussion_r74009236","pull_request_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/comments/74009236"},"html":{"href":"https://github.com/Ohmbrewer/ohmbrewer/pull/85#discussion_r74009236"},"pull_request":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85","id":59326418,"html_url":"https://github.com/Ohmbrewer/ohmbrewer/pull/85","diff_url":"https://github.com/Ohmbrewer/ohmbrewer/pull/85.diff","patch_url":"https://github.com/Ohmbrewer/ohmbrewer/pull/85.patch","issue_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/85","number":85,"state":"open","locked":false,"title":"Gets the Bootstrap modal -based confirmation dialog working again.","user":{"login":"kyleoliveira","id":5393682,"avatar_url":"https://avatars.githubusercontent.com/u/5393682?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleoliveira","html_url":"https://github.com/kyleoliveira","followers_url":"https://api.github.com/users/kyleoliveira/followers","following_url":"https://api.github.com/users/kyleoliveira/following{/other_user}","gists_url":"https://api.github.com/users/kyleoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleoliveira/subscriptions","organizations_url":"https://api.github.com/users/kyleoliveira/orgs","repos_url":"https://api.github.com/users/kyleoliveira/repos","events_url":"https://api.github.com/users/kyleoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/kyleoliveira/received_events","type":"User","site_admin":false},"body":"Resolves #26 .\r\n\r\nOr rather it will shortly... This isn't actually quite ready for merge yet. It does get the confirmation dialogs working again, however it breaks the multiple delete functionality. I'm not quite sure how to get around that, so I'm putting this up in case someone has idea how to do it.\r\n\r\nAlso makes the Name required when creating a Schedule. Not sure why that wasn't already a thing.","created_at":"2016-02-15T06:48:00Z","updated_at":"2016-08-09T07:21:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caea9c8e66759f1686462be27a1056ba275344f1","assignee":{"login":"kyleoliveira","id":5393682,"avatar_url":"https://avatars.githubusercontent.com/u/5393682?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleoliveira","html_url":"https://github.com/kyleoliveira","followers_url":"https://api.github.com/users/kyleoliveira/followers","following_url":"https://api.github.com/users/kyleoliveira/following{/other_user}","gists_url":"https://api.github.com/users/kyleoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleoliveira/subscriptions","organizations_url":"https://api.github.com/users/kyleoliveira/orgs","repos_url":"https://api.github.com/users/kyleoliveira/repos","events_url":"https://api.github.com/users/kyleoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/kyleoliveira/received_events","type":"User","site_admin":false},"assignees":[{"login":"kyleoliveira","id":5393682,"avatar_url":"https://avatars.githubusercontent.com/u/5393682?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleoliveira","html_url":"https://github.com/kyleoliveira","followers_url":"https://api.github.com/users/kyleoliveira/followers","following_url":"https://api.github.com/users/kyleoliveira/following{/other_user}","gists_url":"https://api.github.com/users/kyleoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleoliveira/subscriptions","organizations_url":"https://api.github.com/users/kyleoliveira/orgs","repos_url":"https://api.github.com/users/kyleoliveira/repos","events_url":"https://api.github.com/users/kyleoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/kyleoliveira/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/milestones/11","html_url":"https://github.com/Ohmbrewer/ohmbrewer/milestones/Version%201.0","labels_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/milestones/11/labels","id":1442666,"number":11,"title":"Version 1.0","description":"What needs to get done before we can tag v1.0.","creator":{"login":"kyleoliveira","id":5393682,"avatar_url":"https://avatars.githubusercontent.com/u/5393682?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleoliveira","html_url":"https://github.com/kyleoliveira","followers_url":"https://api.github.com/users/kyleoliveira/followers","following_url":"https://api.github.com/users/kyleoliveira/following{/other_user}","gists_url":"https://api.github.com/users/kyleoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleoliveira/subscriptions","organizations_url":"https://api.github.com/users/kyleoliveira/orgs","repos_url":"https://api.github.com/users/kyleoliveira/repos","events_url":"https://api.github.com/users/kyleoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/kyleoliveira/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":10,"state":"open","created_at":"2015-12-03T18:08:30Z","updated_at":"2016-08-09T06:59:09Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85/commits","review_comments_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85/comments","review_comment_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/85/comments","statuses_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/statuses/0334ab8dae6160eb71dc854139c76e4f8d1fcbe8","head":{"label":"Ohmbrewer:confirm_dialog_fix","ref":"confirm_dialog_fix","sha":"0334ab8dae6160eb71dc854139c76e4f8d1fcbe8","user":{"login":"Ohmbrewer","id":10904072,"avatar_url":"https://avatars.githubusercontent.com/u/10904072?v=3","gravatar_id":"","url":"https://api.github.com/users/Ohmbrewer","html_url":"https://github.com/Ohmbrewer","followers_url":"https://api.github.com/users/Ohmbrewer/followers","following_url":"https://api.github.com/users/Ohmbrewer/following{/other_user}","gists_url":"https://api.github.com/users/Ohmbrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/Ohmbrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ohmbrewer/subscriptions","organizations_url":"https://api.github.com/users/Ohmbrewer/orgs","repos_url":"https://api.github.com/users/Ohmbrewer/repos","events_url":"https://api.github.com/users/Ohmbrewer/events{/privacy}","received_events_url":"https://api.github.com/users/Ohmbrewer/received_events","type":"Organization","site_admin":false},"repo":{"id":30479401,"name":"ohmbrewer","full_name":"Ohmbrewer/ohmbrewer","owner":{"login":"Ohmbrewer","id":10904072,"avatar_url":"https://avatars.githubusercontent.com/u/10904072?v=3","gravatar_id":"","url":"https://api.github.com/users/Ohmbrewer","html_url":"https://github.com/Ohmbrewer","followers_url":"https://api.github.com/users/Ohmbrewer/followers","following_url":"https://api.github.com/users/Ohmbrewer/following{/other_user}","gists_url":"https://api.github.com/users/Ohmbrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/Ohmbrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ohmbrewer/subscriptions","organizations_url":"https://api.github.com/users/Ohmbrewer/orgs","repos_url":"https://api.github.com/users/Ohmbrewer/repos","events_url":"https://api.github.com/users/Ohmbrewer/events{/privacy}","received_events_url":"https://api.github.com/users/Ohmbrewer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ohmbrewer/ohmbrewer","description":"The web application for a happy brew day.","fork":false,"url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer","forks_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/forks","keys_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/teams","hooks_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/hooks","issue_events_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/events{/number}","events_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/events","assignees_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/assignees{/user}","branches_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/branches{/branch}","tags_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/tags","blobs_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/statuses/{sha}","languages_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/languages","stargazers_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/stargazers","contributors_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/contributors","subscribers_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/subscribers","subscription_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/subscription","commits_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/contents/{+path}","compare_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/merges","archive_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/downloads","issues_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues{/number}","pulls_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls{/number}","milestones_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/milestones{/number}","notifications_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/labels{/name}","releases_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/releases{/id}","deployments_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/deployments","created_at":"2015-02-08T03:24:28Z","updated_at":"2016-02-15T22:35:44Z","pushed_at":"2016-08-09T07:21:36Z","git_url":"git://github.com/Ohmbrewer/ohmbrewer.git","ssh_url":"git@github.com:Ohmbrewer/ohmbrewer.git","clone_url":"https://github.com/Ohmbrewer/ohmbrewer.git","svn_url":"https://github.com/Ohmbrewer/ohmbrewer","homepage":"http://ohmbrewer.github.io","size":998,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"Ohmbrewer:master","ref":"master","sha":"c8dedb3635e87c83a39d732aa76da5ca4d2a80f8","user":{"login":"Ohmbrewer","id":10904072,"avatar_url":"https://avatars.githubusercontent.com/u/10904072?v=3","gravatar_id":"","url":"https://api.github.com/users/Ohmbrewer","html_url":"https://github.com/Ohmbrewer","followers_url":"https://api.github.com/users/Ohmbrewer/followers","following_url":"https://api.github.com/users/Ohmbrewer/following{/other_user}","gists_url":"https://api.github.com/users/Ohmbrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/Ohmbrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ohmbrewer/subscriptions","organizations_url":"https://api.github.com/users/Ohmbrewer/orgs","repos_url":"https://api.github.com/users/Ohmbrewer/repos","events_url":"https://api.github.com/users/Ohmbrewer/events{/privacy}","received_events_url":"https://api.github.com/users/Ohmbrewer/received_events","type":"Organization","site_admin":false},"repo":{"id":30479401,"name":"ohmbrewer","full_name":"Ohmbrewer/ohmbrewer","owner":{"login":"Ohmbrewer","id":10904072,"avatar_url":"https://avatars.githubusercontent.com/u/10904072?v=3","gravatar_id":"","url":"https://api.github.com/users/Ohmbrewer","html_url":"https://github.com/Ohmbrewer","followers_url":"https://api.github.com/users/Ohmbrewer/followers","following_url":"https://api.github.com/users/Ohmbrewer/following{/other_user}","gists_url":"https://api.github.com/users/Ohmbrewer/gists{/gist_id}","starred_url":"https://api.github.com/users/Ohmbrewer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ohmbrewer/subscriptions","organizations_url":"https://api.github.com/users/Ohmbrewer/orgs","repos_url":"https://api.github.com/users/Ohmbrewer/repos","events_url":"https://api.github.com/users/Ohmbrewer/events{/privacy}","received_events_url":"https://api.github.com/users/Ohmbrewer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ohmbrewer/ohmbrewer","description":"The web application for a happy brew day.","fork":false,"url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer","forks_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/forks","keys_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/teams","hooks_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/hooks","issue_events_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/events{/number}","events_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/events","assignees_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/assignees{/user}","branches_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/branches{/branch}","tags_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/tags","blobs_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/statuses/{sha}","languages_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/languages","stargazers_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/stargazers","contributors_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/contributors","subscribers_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/subscribers","subscription_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/subscription","commits_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/contents/{+path}","compare_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/merges","archive_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/downloads","issues_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues{/number}","pulls_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls{/number}","milestones_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/milestones{/number}","notifications_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/labels{/name}","releases_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/releases{/id}","deployments_url":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/deployments","created_at":"2015-02-08T03:24:28Z","updated_at":"2016-02-15T22:35:44Z","pushed_at":"2016-08-09T07:21:36Z","git_url":"git://github.com/Ohmbrewer/ohmbrewer.git","ssh_url":"git@github.com:Ohmbrewer/ohmbrewer.git","clone_url":"https://github.com/Ohmbrewer/ohmbrewer.git","svn_url":"https://github.com/Ohmbrewer/ohmbrewer","homepage":"http://ohmbrewer.github.io","size":998,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85"},"html":{"href":"https://github.com/Ohmbrewer/ohmbrewer/pull/85"},"issue":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/85"},"comments":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/Ohmbrewer/ohmbrewer/statuses/0334ab8dae6160eb71dc854139c76e4f8d1fcbe8"}}}}
{"actor":{"display_login":"houndci-bot"}}