{"action":"created","comment":{"url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/comments/93850192","pull_request_review_id":14383769,"id":93850192,"diff_hunk":"@@ -43,13 +44,17 @@ function EdxAdaptXBlock(runtime, element) {\n             })\n             .done(function() {\n                 console.log(\"User Configured\");\n-                setStatusOk();\n             })\n             .fail(function() {\n                 console.log('Failed to configure skill \"'+skill+'\" for user \"'+studentId+'\"');\n+                ready_to_enroll = false;\n                 setStatusNok();\n             });\n         });\n+        if (ready_to_enroll) {","path":"edxadapt/static/js/src/edxadapt.js","position":29,"original_position":29,"commit_id":"d6e4cd74aab1421cc0ca7e3acd872a2882208daa","original_commit_id":"d6e4cd74aab1421cc0ca7e3acd872a2882208daa","user":{"login":"idegtiarov","id":7392821,"avatar_url":"https://avatars.githubusercontent.com/u/7392821?v=3","gravatar_id":"","url":"https://api.github.com/users/idegtiarov","html_url":"https://github.com/idegtiarov","followers_url":"https://api.github.com/users/idegtiarov/followers","following_url":"https://api.github.com/users/idegtiarov/following{/other_user}","gists_url":"https://api.github.com/users/idegtiarov/gists{/gist_id}","starred_url":"https://api.github.com/users/idegtiarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idegtiarov/subscriptions","organizations_url":"https://api.github.com/users/idegtiarov/orgs","repos_url":"https://api.github.com/users/idegtiarov/repos","events_url":"https://api.github.com/users/idegtiarov/events{/privacy}","received_events_url":"https://api.github.com/users/idegtiarov/received_events","type":"User","site_admin":false},"body":"make sense, will rewrite with your advice","created_at":"2016-12-26T08:12:34Z","updated_at":"2016-12-26T08:12:34Z","html_url":"https://github.com/raccoongang/EdxAdaptXBlock/pull/4#discussion_r93850192","pull_request_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/comments/93850192"},"html":{"href":"https://github.com/raccoongang/EdxAdaptXBlock/pull/4#discussion_r93850192"},"pull_request":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4","id":98295558,"html_url":"https://github.com/raccoongang/EdxAdaptXBlock/pull/4","diff_url":"https://github.com/raccoongang/EdxAdaptXBlock/pull/4.diff","patch_url":"https://github.com/raccoongang/EdxAdaptXBlock/pull/4.patch","issue_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/4","number":4,"state":"open","locked":false,"title":"Add editable course_id field","user":{"login":"idegtiarov","id":7392821,"avatar_url":"https://avatars.githubusercontent.com/u/7392821?v=3","gravatar_id":"","url":"https://api.github.com/users/idegtiarov","html_url":"https://github.com/idegtiarov","followers_url":"https://api.github.com/users/idegtiarov/followers","following_url":"https://api.github.com/users/idegtiarov/following{/other_user}","gists_url":"https://api.github.com/users/idegtiarov/gists{/gist_id}","starred_url":"https://api.github.com/users/idegtiarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idegtiarov/subscriptions","organizations_url":"https://api.github.com/users/idegtiarov/orgs","repos_url":"https://api.github.com/users/idegtiarov/repos","events_url":"https://api.github.com/users/idegtiarov/events{/privacy}","received_events_url":"https://api.github.com/users/idegtiarov/received_events","type":"User","site_admin":false},"body":"This field is required if we have more than one section in course with adaptive problems and need to distinguish each of them on edx-adapt side.\r\n\r\nSome nits are also improved. ","created_at":"2016-12-16T08:32:05Z","updated_at":"2016-12-26T08:12:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5db49757ecaeef5de38f215bc40718321f9ccfe6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4/commits","review_comments_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4/comments","review_comment_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/4/comments","statuses_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/statuses/d6e4cd74aab1421cc0ca7e3acd872a2882208daa","head":{"label":"raccoongang:optional_course_id","ref":"optional_course_id","sha":"d6e4cd74aab1421cc0ca7e3acd872a2882208daa","user":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"repo":{"id":73909973,"name":"EdxAdaptXBlock","full_name":"raccoongang/EdxAdaptXBlock","owner":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raccoongang/EdxAdaptXBlock","description":null,"fork":false,"url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock","forks_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/forks","keys_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/teams","hooks_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/hooks","issue_events_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/events{/number}","events_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/events","assignees_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/assignees{/user}","branches_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/branches{/branch}","tags_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/tags","blobs_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/statuses/{sha}","languages_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/languages","stargazers_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/stargazers","contributors_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/contributors","subscribers_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/subscribers","subscription_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/subscription","commits_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/contents/{+path}","compare_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/merges","archive_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/downloads","issues_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues{/number}","pulls_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls{/number}","milestones_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/milestones{/number}","notifications_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/labels{/name}","releases_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/releases{/id}","deployments_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/deployments","created_at":"2016-11-16T10:40:02Z","updated_at":"2016-11-21T13:43:41Z","pushed_at":"2016-12-26T07:58:08Z","git_url":"git://github.com/raccoongang/EdxAdaptXBlock.git","ssh_url":"git@github.com:raccoongang/EdxAdaptXBlock.git","clone_url":"https://github.com/raccoongang/EdxAdaptXBlock.git","svn_url":"https://github.com/raccoongang/EdxAdaptXBlock","homepage":null,"size":324,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"raccoongang:master","ref":"master","sha":"ad758d50390b8169f98ad5f18719e9572d275cfb","user":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"repo":{"id":73909973,"name":"EdxAdaptXBlock","full_name":"raccoongang/EdxAdaptXBlock","owner":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raccoongang/EdxAdaptXBlock","description":null,"fork":false,"url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock","forks_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/forks","keys_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/teams","hooks_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/hooks","issue_events_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/events{/number}","events_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/events","assignees_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/assignees{/user}","branches_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/branches{/branch}","tags_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/tags","blobs_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/statuses/{sha}","languages_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/languages","stargazers_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/stargazers","contributors_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/contributors","subscribers_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/subscribers","subscription_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/subscription","commits_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/contents/{+path}","compare_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/merges","archive_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/downloads","issues_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues{/number}","pulls_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls{/number}","milestones_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/milestones{/number}","notifications_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/labels{/name}","releases_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/releases{/id}","deployments_url":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/deployments","created_at":"2016-11-16T10:40:02Z","updated_at":"2016-11-21T13:43:41Z","pushed_at":"2016-12-26T07:58:08Z","git_url":"git://github.com/raccoongang/EdxAdaptXBlock.git","ssh_url":"git@github.com:raccoongang/EdxAdaptXBlock.git","clone_url":"https://github.com/raccoongang/EdxAdaptXBlock.git","svn_url":"https://github.com/raccoongang/EdxAdaptXBlock","homepage":null,"size":324,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4"},"html":{"href":"https://github.com/raccoongang/EdxAdaptXBlock/pull/4"},"issue":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/4"},"comments":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/raccoongang/EdxAdaptXBlock/statuses/d6e4cd74aab1421cc0ca7e3acd872a2882208daa"}}}}
{"actor":{"display_login":"idegtiarov"}}