{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/51342570","id":51342570,"diff_hunk":"@@ -756,6 +757,10 @@ oppia.config(['$provide', function($provide) {\n         taRegisterTool(componentDefn.name, {\n           display: buttonDisplay.outerHTML,\n           tooltiptext: componentDefn.tooltip,\n+          disabled: function() {\n+            // Check canUseFs, a property on the textAngular directive scope.\n+            return !this.$parent.$parent.canUseFs && componentDefn.requiresFs;","path":"core/templates/dev/head/forms/formBuilder.js","position":null,"original_position":38,"commit_id":"3a9acf004b05c802436419af55a7f6031cd7520e","original_commit_id":"d31322b657c9de895f5cb974428ce14fb53de2a0","user":{"login":"AllanYangZhou","id":8732147,"avatar_url":"https://avatars.githubusercontent.com/u/8732147?v=3","gravatar_id":"","url":"https://api.github.com/users/AllanYangZhou","html_url":"https://github.com/AllanYangZhou","followers_url":"https://api.github.com/users/AllanYangZhou/followers","following_url":"https://api.github.com/users/AllanYangZhou/following{/other_user}","gists_url":"https://api.github.com/users/AllanYangZhou/gists{/gist_id}","starred_url":"https://api.github.com/users/AllanYangZhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllanYangZhou/subscriptions","organizations_url":"https://api.github.com/users/AllanYangZhou/orgs","repos_url":"https://api.github.com/users/AllanYangZhou/repos","events_url":"https://api.github.com/users/AllanYangZhou/events{/privacy}","received_events_url":"https://api.github.com/users/AllanYangZhou/received_events","type":"User","site_admin":false},"body":"Fixed turns out I didn't need $parent.$parent anyways.","created_at":"2016-01-30T08:53:42Z","updated_at":"2016-01-30T08:53:42Z","html_url":"https://github.com/oppia/oppia/pull/1307#discussion_r51342570","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/1307","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/51342570"},"html":{"href":"https://github.com/oppia/oppia/pull/1307#discussion_r51342570"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1307"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/1307","id":54725890,"html_url":"https://github.com/oppia/oppia/pull/1307","diff_url":"https://github.com/oppia/oppia/pull/1307.diff","patch_url":"https://github.com/oppia/oppia/pull/1307.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/1307","number":1307,"state":"open","locked":false,"title":"Connect suggestions frontend and backend","user":{"login":"AllanYangZhou","id":8732147,"avatar_url":"https://avatars.githubusercontent.com/u/8732147?v=3","gravatar_id":"","url":"https://api.github.com/users/AllanYangZhou","html_url":"https://github.com/AllanYangZhou","followers_url":"https://api.github.com/users/AllanYangZhou/followers","following_url":"https://api.github.com/users/AllanYangZhou/following{/other_user}","gists_url":"https://api.github.com/users/AllanYangZhou/gists{/gist_id}","starred_url":"https://api.github.com/users/AllanYangZhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllanYangZhou/subscriptions","organizations_url":"https://api.github.com/users/AllanYangZhou/orgs","repos_url":"https://api.github.com/users/AllanYangZhou/repos","events_url":"https://api.github.com/users/AllanYangZhou/events{/privacy}","received_events_url":"https://api.github.com/users/AllanYangZhou/received_events","type":"User","site_admin":false},"body":"Addresses #1291 and #1304, minus the e2e tests.","created_at":"2015-12-29T13:19:41Z","updated_at":"2016-01-30T08:53:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39a33d7197561f62ae85f0809f4da02708a21ad4","assignee":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/1307/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/1307/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/1307/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/3a9acf004b05c802436419af55a7f6031cd7520e","head":{"label":"AllanYangZhou:suggestions","ref":"suggestions","sha":"3a9acf004b05c802436419af55a7f6031cd7520e","user":{"login":"AllanYangZhou","id":8732147,"avatar_url":"https://avatars.githubusercontent.com/u/8732147?v=3","gravatar_id":"","url":"https://api.github.com/users/AllanYangZhou","html_url":"https://github.com/AllanYangZhou","followers_url":"https://api.github.com/users/AllanYangZhou/followers","following_url":"https://api.github.com/users/AllanYangZhou/following{/other_user}","gists_url":"https://api.github.com/users/AllanYangZhou/gists{/gist_id}","starred_url":"https://api.github.com/users/AllanYangZhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllanYangZhou/subscriptions","organizations_url":"https://api.github.com/users/AllanYangZhou/orgs","repos_url":"https://api.github.com/users/AllanYangZhou/repos","events_url":"https://api.github.com/users/AllanYangZhou/events{/privacy}","received_events_url":"https://api.github.com/users/AllanYangZhou/received_events","type":"User","site_admin":false},"repo":{"id":40919066,"name":"oppia","full_name":"AllanYangZhou/oppia","owner":{"login":"AllanYangZhou","id":8732147,"avatar_url":"https://avatars.githubusercontent.com/u/8732147?v=3","gravatar_id":"","url":"https://api.github.com/users/AllanYangZhou","html_url":"https://github.com/AllanYangZhou","followers_url":"https://api.github.com/users/AllanYangZhou/followers","following_url":"https://api.github.com/users/AllanYangZhou/following{/other_user}","gists_url":"https://api.github.com/users/AllanYangZhou/gists{/gist_id}","starred_url":"https://api.github.com/users/AllanYangZhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllanYangZhou/subscriptions","organizations_url":"https://api.github.com/users/AllanYangZhou/orgs","repos_url":"https://api.github.com/users/AllanYangZhou/repos","events_url":"https://api.github.com/users/AllanYangZhou/events{/privacy}","received_events_url":"https://api.github.com/users/AllanYangZhou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AllanYangZhou/oppia","description":"Tool for creating interactive tutors.","fork":true,"url":"https://api.github.com/repos/AllanYangZhou/oppia","forks_url":"https://api.github.com/repos/AllanYangZhou/oppia/forks","keys_url":"https://api.github.com/repos/AllanYangZhou/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AllanYangZhou/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AllanYangZhou/oppia/teams","hooks_url":"https://api.github.com/repos/AllanYangZhou/oppia/hooks","issue_events_url":"https://api.github.com/repos/AllanYangZhou/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/AllanYangZhou/oppia/events","assignees_url":"https://api.github.com/repos/AllanYangZhou/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/AllanYangZhou/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/AllanYangZhou/oppia/tags","blobs_url":"https://api.github.com/repos/AllanYangZhou/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AllanYangZhou/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AllanYangZhou/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/AllanYangZhou/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AllanYangZhou/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/AllanYangZhou/oppia/languages","stargazers_url":"https://api.github.com/repos/AllanYangZhou/oppia/stargazers","contributors_url":"https://api.github.com/repos/AllanYangZhou/oppia/contributors","subscribers_url":"https://api.github.com/repos/AllanYangZhou/oppia/subscribers","subscription_url":"https://api.github.com/repos/AllanYangZhou/oppia/subscription","commits_url":"https://api.github.com/repos/AllanYangZhou/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/AllanYangZhou/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/AllanYangZhou/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/AllanYangZhou/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/AllanYangZhou/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/AllanYangZhou/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AllanYangZhou/oppia/merges","archive_url":"https://api.github.com/repos/AllanYangZhou/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AllanYangZhou/oppia/downloads","issues_url":"https://api.github.com/repos/AllanYangZhou/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/AllanYangZhou/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/AllanYangZhou/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/AllanYangZhou/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AllanYangZhou/oppia/labels{/name}","releases_url":"https://api.github.com/repos/AllanYangZhou/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/AllanYangZhou/oppia/deployments","created_at":"2015-08-17T18:37:08Z","updated_at":"2015-08-17T18:37:10Z","pushed_at":"2016-01-30T08:52:23Z","git_url":"git://github.com/AllanYangZhou/oppia.git","ssh_url":"git@github.com:AllanYangZhou/oppia.git","clone_url":"https://github.com/AllanYangZhou/oppia.git","svn_url":"https://github.com/AllanYangZhou/oppia","homepage":"https://www.oppia.org","size":45051,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"oppia:suggestions","ref":"suggestions","sha":"fd54650452a19c5021189d93b1dc3e445ed05816","user":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building intelligent tutors.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2016-01-18T11:50:56Z","pushed_at":"2016-01-30T08:52:24Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":46102,"stargazers_count":71,"watchers_count":71,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":263,"forks":102,"open_issues":263,"watchers":71,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1307"},"html":{"href":"https://github.com/oppia/oppia/pull/1307"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/1307"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/1307/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1307/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/1307/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/3a9acf004b05c802436419af55a7f6031cd7520e"}}}}