{"action":"created","comment":{"url":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/comments/41060600","id":41060600,"diff_hunk":"@@ -69,13 +69,17 @@ var ConfirmAction = React.createClass({\n           }\n         </div>\n         <div className=\"modal-footer\">\n-          <bs.Button\n-              onClick={this.executeAction}\n-              bsStyle={this.props.buttonStyle}\n-              disabled={this.state.executing && !this.state.resultLoaded}>\n-            <bs.Glyphicon glyph={this.props.glyph}/>&nbsp;\n-            <span>{this.props.label}</span>\n-          </bs.Button>\n+          {\n+            !(this.state.executing || this.state.result) ? (\n+              <bs.Button\n+                  onClick={this.executeAction}\n+                  bsStyle={this.props.buttonStyle}\n+                  hidden={this.state.result}","path":"lib/ui/confirmaction.jsx","position":16,"original_position":16,"commit_id":"a88fa543f35a4f8a00559863f4eafeb7cb1ca45f","original_commit_id":"a88fa543f35a4f8a00559863f4eafeb7cb1ca45f","user":{"login":"jonasfj","id":149732,"avatar_url":"https://avatars.githubusercontent.com/u/149732?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasfj","html_url":"https://github.com/jonasfj","followers_url":"https://api.github.com/users/jonasfj/followers","following_url":"https://api.github.com/users/jonasfj/following{/other_user}","gists_url":"https://api.github.com/users/jonasfj/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasfj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasfj/subscriptions","organizations_url":"https://api.github.com/users/jonasfj/orgs","repos_url":"https://api.github.com/users/jonasfj/repos","events_url":"https://api.github.com/users/jonasfj/events{/privacy}","received_events_url":"https://api.github.com/users/jonasfj/received_events","type":"User","site_admin":false},"body":"missing `>`","created_at":"2015-10-02T19:50:02Z","updated_at":"2015-10-02T19:50:02Z","html_url":"https://github.com/taskcluster/taskcluster-tools/pull/29#discussion_r41060600","pull_request_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/comments/41060600"},"html":{"href":"https://github.com/taskcluster/taskcluster-tools/pull/29#discussion_r41060600"},"pull_request":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29","id":46667785,"html_url":"https://github.com/taskcluster/taskcluster-tools/pull/29","diff_url":"https://github.com/taskcluster/taskcluster-tools/pull/29.diff","patch_url":"https://github.com/taskcluster/taskcluster-tools/pull/29.patch","issue_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/issues/29","number":29,"state":"open","locked":false,"title":"Bug 1210393: hide the action button after success","user":{"login":"djmitche","id":28673,"avatar_url":"https://avatars.githubusercontent.com/u/28673?v=3","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-02T18:39:53Z","updated_at":"2015-10-02T19:50:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5268506340b804a04d73199839126ead9de423d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29/commits","review_comments_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29/comments","review_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/issues/29/comments","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/statuses/a88fa543f35a4f8a00559863f4eafeb7cb1ca45f","head":{"label":"djmitche:bug1210393","ref":"bug1210393","sha":"a88fa543f35a4f8a00559863f4eafeb7cb1ca45f","user":{"login":"djmitche","id":28673,"avatar_url":"https://avatars.githubusercontent.com/u/28673?v=3","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"repo":{"id":34405876,"name":"taskcluster-tools","full_name":"djmitche/taskcluster-tools","owner":{"login":"djmitche","id":28673,"avatar_url":"https://avatars.githubusercontent.com/u/28673?v=3","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djmitche/taskcluster-tools","description":"Tools for debugging, inspecting and managing TaskCluster","fork":true,"url":"https://api.github.com/repos/djmitche/taskcluster-tools","forks_url":"https://api.github.com/repos/djmitche/taskcluster-tools/forks","keys_url":"https://api.github.com/repos/djmitche/taskcluster-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djmitche/taskcluster-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djmitche/taskcluster-tools/teams","hooks_url":"https://api.github.com/repos/djmitche/taskcluster-tools/hooks","issue_events_url":"https://api.github.com/repos/djmitche/taskcluster-tools/issues/events{/number}","events_url":"https://api.github.com/repos/djmitche/taskcluster-tools/events","assignees_url":"https://api.github.com/repos/djmitche/taskcluster-tools/assignees{/user}","branches_url":"https://api.github.com/repos/djmitche/taskcluster-tools/branches{/branch}","tags_url":"https://api.github.com/repos/djmitche/taskcluster-tools/tags","blobs_url":"https://api.github.com/repos/djmitche/taskcluster-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djmitche/taskcluster-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djmitche/taskcluster-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/djmitche/taskcluster-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djmitche/taskcluster-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/djmitche/taskcluster-tools/languages","stargazers_url":"https://api.github.com/repos/djmitche/taskcluster-tools/stargazers","contributors_url":"https://api.github.com/repos/djmitche/taskcluster-tools/contributors","subscribers_url":"https://api.github.com/repos/djmitche/taskcluster-tools/subscribers","subscription_url":"https://api.github.com/repos/djmitche/taskcluster-tools/subscription","commits_url":"https://api.github.com/repos/djmitche/taskcluster-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/djmitche/taskcluster-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/djmitche/taskcluster-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/djmitche/taskcluster-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/djmitche/taskcluster-tools/contents/{+path}","compare_url":"https://api.github.com/repos/djmitche/taskcluster-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djmitche/taskcluster-tools/merges","archive_url":"https://api.github.com/repos/djmitche/taskcluster-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djmitche/taskcluster-tools/downloads","issues_url":"https://api.github.com/repos/djmitche/taskcluster-tools/issues{/number}","pulls_url":"https://api.github.com/repos/djmitche/taskcluster-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/djmitche/taskcluster-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/djmitche/taskcluster-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djmitche/taskcluster-tools/labels{/name}","releases_url":"https://api.github.com/repos/djmitche/taskcluster-tools/releases{/id}","created_at":"2015-04-22T17:43:22Z","updated_at":"2015-04-22T17:43:23Z","pushed_at":"2015-10-02T18:39:44Z","git_url":"git://github.com/djmitche/taskcluster-tools.git","ssh_url":"git@github.com:djmitche/taskcluster-tools.git","clone_url":"https://github.com/djmitche/taskcluster-tools.git","svn_url":"https://github.com/djmitche/taskcluster-tools","homepage":null,"size":1393,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"taskcluster:master","ref":"master","sha":"61620cfbbd6d87f728d5e50e57dd0150d8c036b2","user":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":25545398,"name":"taskcluster-tools","full_name":"taskcluster/taskcluster-tools","owner":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/taskcluster-tools","description":"Tools for debugging, inspecting and managing TaskCluster","fork":false,"url":"https://api.github.com/repos/taskcluster/taskcluster-tools","forks_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/forks","keys_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/teams","hooks_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/events","assignees_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/tags","blobs_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/languages","stargazers_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/subscription","commits_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/merges","archive_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/downloads","issues_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/taskcluster-tools/releases{/id}","created_at":"2014-10-21T20:51:27Z","updated_at":"2015-10-02T19:47:02Z","pushed_at":"2015-10-02T18:39:53Z","git_url":"git://github.com/taskcluster/taskcluster-tools.git","ssh_url":"git@github.com:taskcluster/taskcluster-tools.git","clone_url":"https://github.com/taskcluster/taskcluster-tools.git","svn_url":"https://github.com/taskcluster/taskcluster-tools","homepage":null,"size":1768,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29"},"html":{"href":"https://github.com/taskcluster/taskcluster-tools/pull/29"},"issue":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/issues/29"},"comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/taskcluster-tools/statuses/a88fa543f35a4f8a00559863f4eafeb7cb1ca45f"}}}}