{"action":"created","comment":{"url":"https://api.github.com/repos/kstateome/lti-attendance/pulls/comments/119694679","pull_request_review_id":41598995,"id":119694679,"diff_hunk":"@@ -218,17 +231,35 @@\n             }\n         });\n \n-        function confirmChoice(msg, button, callback) {\n+        $('#conversionConfirm').change(function(){\n+            if (this.checked) {\n+                $('#pushGradesToCanvas').removeClass('hidden');\n+                $('#conversionConfig').removeClass('hidden');\n+            } else {\n+                $('#pushGradesToCanvas').addClass('hidden');\n+                $('#conversionConfig').addClass('hidden');\n+                if(hasAssignmentConfiguration() == true) {\n+                    confirmChoice('Turning off the grading feature will delete the Attendance Assignment from Canvas. Do you want to continue?', 'Delete Assignment Confirmation');\n+                }\n+            }\n+        });\n+\n+        function hidePushingAlert (){\n+            $('#pushConfirmation').modal('hide');\n+        }\n+\n+        function confirmChoice(msg, title) {\n             $.confirm({\n                 text: msg,\n-                title: button,\n+                title: title,\n                 cancelButton: \"No\",\n                 confirm: function() {\n-                    callback();\n+                    var form = document.getElementById('sectionSelect');","path":"src/main/webapp/WEB-INF/jsp/courseConfiguration.jsp","position":110,"original_position":110,"commit_id":"6614c87823ca9c8477c72d9b4f0b5d722b559065","original_commit_id":"6614c87823ca9c8477c72d9b4f0b5d722b559065","user":{"login":"killsto","id":700342,"avatar_url":"https://avatars2.githubusercontent.com/u/700342?v=3","gravatar_id":"","url":"https://api.github.com/users/killsto","html_url":"https://github.com/killsto","followers_url":"https://api.github.com/users/killsto/followers","following_url":"https://api.github.com/users/killsto/following{/other_user}","gists_url":"https://api.github.com/users/killsto/gists{/gist_id}","starred_url":"https://api.github.com/users/killsto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killsto/subscriptions","organizations_url":"https://api.github.com/users/killsto/orgs","repos_url":"https://api.github.com/users/killsto/repos","events_url":"https://api.github.com/users/killsto/events{/privacy}","received_events_url":"https://api.github.com/users/killsto/received_events","type":"User","site_admin":false},"body":"Any reason why this is using raw javascript when the rest of the file and application use jquery to do selections?","created_at":"2017-06-01T18:33:05Z","updated_at":"2017-06-01T18:33:06Z","html_url":"https://github.com/kstateome/lti-attendance/pull/173#discussion_r119694679","pull_request_url":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173","_links":{"self":{"href":"https://api.github.com/repos/kstateome/lti-attendance/pulls/comments/119694679"},"html":{"href":"https://github.com/kstateome/lti-attendance/pull/173#discussion_r119694679"},"pull_request":{"href":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173","id":123526059,"html_url":"https://github.com/kstateome/lti-attendance/pull/173","diff_url":"https://github.com/kstateome/lti-attendance/pull/173.diff","patch_url":"https://github.com/kstateome/lti-attendance/pull/173.patch","issue_url":"https://api.github.com/repos/kstateome/lti-attendance/issues/173","number":173,"state":"open","locked":false,"title":"Lk1552","user":{"login":"reish981","id":25062317,"avatar_url":"https://avatars1.githubusercontent.com/u/25062317?v=3","gravatar_id":"","url":"https://api.github.com/users/reish981","html_url":"https://github.com/reish981","followers_url":"https://api.github.com/users/reish981/followers","following_url":"https://api.github.com/users/reish981/following{/other_user}","gists_url":"https://api.github.com/users/reish981/gists{/gist_id}","starred_url":"https://api.github.com/users/reish981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reish981/subscriptions","organizations_url":"https://api.github.com/users/reish981/orgs","repos_url":"https://api.github.com/users/reish981/repos","events_url":"https://api.github.com/users/reish981/events{/privacy}","received_events_url":"https://api.github.com/users/reish981/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-01T15:21:17Z","updated_at":"2017-06-01T18:33:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6a080fe1b1f2296ba35171f4b8088b9f1ae47d0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173/commits","review_comments_url":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173/comments","review_comment_url":"https://api.github.com/repos/kstateome/lti-attendance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kstateome/lti-attendance/issues/173/comments","statuses_url":"https://api.github.com/repos/kstateome/lti-attendance/statuses/6614c87823ca9c8477c72d9b4f0b5d722b559065","head":{"label":"kstateome:lk1552","ref":"lk1552","sha":"6614c87823ca9c8477c72d9b4f0b5d722b559065","user":{"login":"kstateome","id":669649,"avatar_url":"https://avatars3.githubusercontent.com/u/669649?v=3","gravatar_id":"","url":"https://api.github.com/users/kstateome","html_url":"https://github.com/kstateome","followers_url":"https://api.github.com/users/kstateome/followers","following_url":"https://api.github.com/users/kstateome/following{/other_user}","gists_url":"https://api.github.com/users/kstateome/gists{/gist_id}","starred_url":"https://api.github.com/users/kstateome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstateome/subscriptions","organizations_url":"https://api.github.com/users/kstateome/orgs","repos_url":"https://api.github.com/users/kstateome/repos","events_url":"https://api.github.com/users/kstateome/events{/privacy}","received_events_url":"https://api.github.com/users/kstateome/received_events","type":"Organization","site_admin":false},"repo":{"id":56523179,"name":"lti-attendance","full_name":"kstateome/lti-attendance","owner":{"login":"kstateome","id":669649,"avatar_url":"https://avatars3.githubusercontent.com/u/669649?v=3","gravatar_id":"","url":"https://api.github.com/users/kstateome","html_url":"https://github.com/kstateome","followers_url":"https://api.github.com/users/kstateome/followers","following_url":"https://api.github.com/users/kstateome/following{/other_user}","gists_url":"https://api.github.com/users/kstateome/gists{/gist_id}","starred_url":"https://api.github.com/users/kstateome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstateome/subscriptions","organizations_url":"https://api.github.com/users/kstateome/orgs","repos_url":"https://api.github.com/users/kstateome/repos","events_url":"https://api.github.com/users/kstateome/events{/privacy}","received_events_url":"https://api.github.com/users/kstateome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kstateome/lti-attendance","description":"LTI application for keeping track of student attendance in Canvas courses","fork":false,"url":"https://api.github.com/repos/kstateome/lti-attendance","forks_url":"https://api.github.com/repos/kstateome/lti-attendance/forks","keys_url":"https://api.github.com/repos/kstateome/lti-attendance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kstateome/lti-attendance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kstateome/lti-attendance/teams","hooks_url":"https://api.github.com/repos/kstateome/lti-attendance/hooks","issue_events_url":"https://api.github.com/repos/kstateome/lti-attendance/issues/events{/number}","events_url":"https://api.github.com/repos/kstateome/lti-attendance/events","assignees_url":"https://api.github.com/repos/kstateome/lti-attendance/assignees{/user}","branches_url":"https://api.github.com/repos/kstateome/lti-attendance/branches{/branch}","tags_url":"https://api.github.com/repos/kstateome/lti-attendance/tags","blobs_url":"https://api.github.com/repos/kstateome/lti-attendance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kstateome/lti-attendance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kstateome/lti-attendance/git/refs{/sha}","trees_url":"https://api.github.com/repos/kstateome/lti-attendance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kstateome/lti-attendance/statuses/{sha}","languages_url":"https://api.github.com/repos/kstateome/lti-attendance/languages","stargazers_url":"https://api.github.com/repos/kstateome/lti-attendance/stargazers","contributors_url":"https://api.github.com/repos/kstateome/lti-attendance/contributors","subscribers_url":"https://api.github.com/repos/kstateome/lti-attendance/subscribers","subscription_url":"https://api.github.com/repos/kstateome/lti-attendance/subscription","commits_url":"https://api.github.com/repos/kstateome/lti-attendance/commits{/sha}","git_commits_url":"https://api.github.com/repos/kstateome/lti-attendance/git/commits{/sha}","comments_url":"https://api.github.com/repos/kstateome/lti-attendance/comments{/number}","issue_comment_url":"https://api.github.com/repos/kstateome/lti-attendance/issues/comments{/number}","contents_url":"https://api.github.com/repos/kstateome/lti-attendance/contents/{+path}","compare_url":"https://api.github.com/repos/kstateome/lti-attendance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kstateome/lti-attendance/merges","archive_url":"https://api.github.com/repos/kstateome/lti-attendance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kstateome/lti-attendance/downloads","issues_url":"https://api.github.com/repos/kstateome/lti-attendance/issues{/number}","pulls_url":"https://api.github.com/repos/kstateome/lti-attendance/pulls{/number}","milestones_url":"https://api.github.com/repos/kstateome/lti-attendance/milestones{/number}","notifications_url":"https://api.github.com/repos/kstateome/lti-attendance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kstateome/lti-attendance/labels{/name}","releases_url":"https://api.github.com/repos/kstateome/lti-attendance/releases{/id}","deployments_url":"https://api.github.com/repos/kstateome/lti-attendance/deployments","created_at":"2016-04-18T16:17:38Z","updated_at":"2017-03-28T00:25:17Z","pushed_at":"2017-06-01T16:56:05Z","git_url":"git://github.com/kstateome/lti-attendance.git","ssh_url":"git@github.com:kstateome/lti-attendance.git","clone_url":"https://github.com/kstateome/lti-attendance.git","svn_url":"https://github.com/kstateome/lti-attendance","homepage":"","size":1636,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"kstateome:merge-34N","ref":"merge-34N","sha":"fa9e0f9f0b62603a004ba4f264caec3ab0849fd4","user":{"login":"kstateome","id":669649,"avatar_url":"https://avatars3.githubusercontent.com/u/669649?v=3","gravatar_id":"","url":"https://api.github.com/users/kstateome","html_url":"https://github.com/kstateome","followers_url":"https://api.github.com/users/kstateome/followers","following_url":"https://api.github.com/users/kstateome/following{/other_user}","gists_url":"https://api.github.com/users/kstateome/gists{/gist_id}","starred_url":"https://api.github.com/users/kstateome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstateome/subscriptions","organizations_url":"https://api.github.com/users/kstateome/orgs","repos_url":"https://api.github.com/users/kstateome/repos","events_url":"https://api.github.com/users/kstateome/events{/privacy}","received_events_url":"https://api.github.com/users/kstateome/received_events","type":"Organization","site_admin":false},"repo":{"id":56523179,"name":"lti-attendance","full_name":"kstateome/lti-attendance","owner":{"login":"kstateome","id":669649,"avatar_url":"https://avatars3.githubusercontent.com/u/669649?v=3","gravatar_id":"","url":"https://api.github.com/users/kstateome","html_url":"https://github.com/kstateome","followers_url":"https://api.github.com/users/kstateome/followers","following_url":"https://api.github.com/users/kstateome/following{/other_user}","gists_url":"https://api.github.com/users/kstateome/gists{/gist_id}","starred_url":"https://api.github.com/users/kstateome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstateome/subscriptions","organizations_url":"https://api.github.com/users/kstateome/orgs","repos_url":"https://api.github.com/users/kstateome/repos","events_url":"https://api.github.com/users/kstateome/events{/privacy}","received_events_url":"https://api.github.com/users/kstateome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kstateome/lti-attendance","description":"LTI application for keeping track of student attendance in Canvas courses","fork":false,"url":"https://api.github.com/repos/kstateome/lti-attendance","forks_url":"https://api.github.com/repos/kstateome/lti-attendance/forks","keys_url":"https://api.github.com/repos/kstateome/lti-attendance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kstateome/lti-attendance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kstateome/lti-attendance/teams","hooks_url":"https://api.github.com/repos/kstateome/lti-attendance/hooks","issue_events_url":"https://api.github.com/repos/kstateome/lti-attendance/issues/events{/number}","events_url":"https://api.github.com/repos/kstateome/lti-attendance/events","assignees_url":"https://api.github.com/repos/kstateome/lti-attendance/assignees{/user}","branches_url":"https://api.github.com/repos/kstateome/lti-attendance/branches{/branch}","tags_url":"https://api.github.com/repos/kstateome/lti-attendance/tags","blobs_url":"https://api.github.com/repos/kstateome/lti-attendance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kstateome/lti-attendance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kstateome/lti-attendance/git/refs{/sha}","trees_url":"https://api.github.com/repos/kstateome/lti-attendance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kstateome/lti-attendance/statuses/{sha}","languages_url":"https://api.github.com/repos/kstateome/lti-attendance/languages","stargazers_url":"https://api.github.com/repos/kstateome/lti-attendance/stargazers","contributors_url":"https://api.github.com/repos/kstateome/lti-attendance/contributors","subscribers_url":"https://api.github.com/repos/kstateome/lti-attendance/subscribers","subscription_url":"https://api.github.com/repos/kstateome/lti-attendance/subscription","commits_url":"https://api.github.com/repos/kstateome/lti-attendance/commits{/sha}","git_commits_url":"https://api.github.com/repos/kstateome/lti-attendance/git/commits{/sha}","comments_url":"https://api.github.com/repos/kstateome/lti-attendance/comments{/number}","issue_comment_url":"https://api.github.com/repos/kstateome/lti-attendance/issues/comments{/number}","contents_url":"https://api.github.com/repos/kstateome/lti-attendance/contents/{+path}","compare_url":"https://api.github.com/repos/kstateome/lti-attendance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kstateome/lti-attendance/merges","archive_url":"https://api.github.com/repos/kstateome/lti-attendance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kstateome/lti-attendance/downloads","issues_url":"https://api.github.com/repos/kstateome/lti-attendance/issues{/number}","pulls_url":"https://api.github.com/repos/kstateome/lti-attendance/pulls{/number}","milestones_url":"https://api.github.com/repos/kstateome/lti-attendance/milestones{/number}","notifications_url":"https://api.github.com/repos/kstateome/lti-attendance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kstateome/lti-attendance/labels{/name}","releases_url":"https://api.github.com/repos/kstateome/lti-attendance/releases{/id}","deployments_url":"https://api.github.com/repos/kstateome/lti-attendance/deployments","created_at":"2016-04-18T16:17:38Z","updated_at":"2017-03-28T00:25:17Z","pushed_at":"2017-06-01T16:56:05Z","git_url":"git://github.com/kstateome/lti-attendance.git","ssh_url":"git@github.com:kstateome/lti-attendance.git","clone_url":"https://github.com/kstateome/lti-attendance.git","svn_url":"https://github.com/kstateome/lti-attendance","homepage":"","size":1636,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173"},"html":{"href":"https://github.com/kstateome/lti-attendance/pull/173"},"issue":{"href":"https://api.github.com/repos/kstateome/lti-attendance/issues/173"},"comments":{"href":"https://api.github.com/repos/kstateome/lti-attendance/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/kstateome/lti-attendance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kstateome/lti-attendance/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/kstateome/lti-attendance/statuses/6614c87823ca9c8477c72d9b4f0b5d722b559065"}}}}
{"actor":{"display_login":"killsto"}}