GitHub PullRequestReviewCommentEvent at 2014-07-28 21:27:37
Repository: rcloud
Actor: gordonwoodhull
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/att/rcloud/pulls/comments/15492183","id":15492183,"diff_hunk":"@@ -345,8 +352,13 @@ ui_utils.editable = function(elem$, command) {\n     else if((old_opts && old_opts.allow_edit) && (!new_opts || !new_opts.allow_edit))\n         action = 'freeze';\n \n-    if(new_opts)\n-        elem$.text(encode(options().__active ? new_opts.active_text : new_opts.inactive_text));\n+    if(new_opts) {\n+        if(command.allow_multiline) {\n+            elem$.html(encode(options().__active ? new_opts.active_text : new_opts.inactive_text));\n+        } else {\n+            elem$.text(encode(options().__active ? new_opts.active_text : new_opts.inactive_text));","path":"htdocs/js/ui_utils.js","position":34,"original_position":34,"commit_id":"78889061d59da479c99ff828f847dcf57b7824de","original_commit_id":"78889061d59da479c99ff828f847dcf57b7824de","user":{"login":"gordonwoodhull","id":1366709,"avatar_url":"https://avatars.githubusercontent.com/u/1366709?","gravatar_id":"d5357bc8fd92cd8034e11534a8dbe6e6","url":"https://api.github.com/users/gordonwoodhull","html_url":"https://github.com/gordonwoodhull","followers_url":"https://api.github.com/users/gordonwoodhull/followers","following_url":"https://api.github.com/users/gordonwoodhull/following{/other_user}","gists_url":"https://api.github.com/users/gordonwoodhull/gists{/gist_id}","starred_url":"https://api.github.com/users/gordonwoodhull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordonwoodhull/subscriptions","organizations_url":"https://api.github.com/users/gordonwoodhull/orgs","repos_url":"https://api.github.com/users/gordonwoodhull/repos","events_url":"https://api.github.com/users/gordonwoodhull/events{/privacy}","received_events_url":"https://api.github.com/users/gordonwoodhull/received_events","type":"User","site_admin":false},"body":"use","created_at":"2014-07-28T21:27:37Z","updated_at":"2014-07-28T21:27:37Z","html_url":"https://github.com/att/rcloud/pull/796#discussion_r15492183","pull_request_url":"https://api.github.com/repos/att/rcloud/pulls/796","_links":{"self":{"href":"https://api.github.com/repos/att/rcloud/pulls/comments/15492183"},"html":{"href":"https://github.com/att/rcloud/pull/796#discussion_r15492183"},"pull_request":{"href":"https://api.github.com/repos/att/rcloud/pulls/796"}}},"pull_request":{"url":"https://api.github.com/repos/att/rcloud/pulls/796","id":18430825,"html_url":"https://github.com/att/rcloud/pull/796","diff_url":"https://github.com/att/rcloud/pull/796.diff","patch_url":"https://github.com/att/rcloud/pull/796.patch","issue_url":"https://api.github.com/repos/att/rcloud/issues/796","number":796,"state":"open","title":"Fixed issue #771.Comment allow new line.","user":{"login":"sujitbehera27","id":391355,"avatar_url":"https://avatars.githubusercontent.com/u/391355?","gravatar_id":"1a6db957c3e18b42a96e083044da16d7","url":"https://api.github.com/users/sujitbehera27","html_url":"https://github.com/sujitbehera27","followers_url":"https://api.github.com/users/sujitbehera27/followers","following_url":"https://api.github.com/users/sujitbehera27/following{/other_user}","gists_url":"https://api.github.com/users/sujitbehera27/gists{/gist_id}","starred_url":"https://api.github.com/users/sujitbehera27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujitbehera27/subscriptions","organizations_url":"https://api.github.com/users/sujitbehera27/orgs","repos_url":"https://api.github.com/users/sujitbehera27/repos","events_url":"https://api.github.com/users/sujitbehera27/events{/privacy}","received_events_url":"https://api.github.com/users/sujitbehera27/received_events","type":"User","site_admin":false},"body":"Raising Fresh PR on issue #771 as my previous branch got messed up while pushing from local.\r\nI have tested all scenarios from my end. \r\nThe comment div is taking care of next line.\r\nIn case of edit it accepts new line and on hitting enter it goes to next line. to post the changed comments user will follow same ctrl+enter.","created_at":"2014-07-15T19:56:43Z","updated_at":"2014-07-28T21:27:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d35b98a8e50b205b9c5bce76422c2c195384bcac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/att/rcloud/pulls/796/commits","review_comments_url":"https://api.github.com/repos/att/rcloud/pulls/796/comments","review_comment_url":"https://api.github.com/repos/att/rcloud/pulls/comments/{number}","comments_url":"https://api.github.com/repos/att/rcloud/issues/796/comments","statuses_url":"https://api.github.com/repos/att/rcloud/statuses/78889061d59da479c99ff828f847dcf57b7824de","head":{"label":"sujitbehera27:comment_allow_new_line","ref":"comment_allow_new_line","sha":"78889061d59da479c99ff828f847dcf57b7824de","user":{"login":"sujitbehera27","id":391355,"avatar_url":"https://avatars.githubusercontent.com/u/391355?","gravatar_id":"1a6db957c3e18b42a96e083044da16d7","url":"https://api.github.com/users/sujitbehera27","html_url":"https://github.com/sujitbehera27","followers_url":"https://api.github.com/users/sujitbehera27/followers","following_url":"https://api.github.com/users/sujitbehera27/following{/other_user}","gists_url":"https://api.github.com/users/sujitbehera27/gists{/gist_id}","starred_url":"https://api.github.com/users/sujitbehera27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujitbehera27/subscriptions","organizations_url":"https://api.github.com/users/sujitbehera27/orgs","repos_url":"https://api.github.com/users/sujitbehera27/repos","events_url":"https://api.github.com/users/sujitbehera27/events{/privacy}","received_events_url":"https://api.github.com/users/sujitbehera27/received_events","type":"User","site_admin":false},"repo":{"id":20609413,"name":"rcloud","full_name":"sujitbehera27/rcloud","owner":{"login":"sujitbehera27","id":391355,"avatar_url":"https://avatars.githubusercontent.com/u/391355?","gravatar_id":"1a6db957c3e18b42a96e083044da16d7","url":"https://api.github.com/users/sujitbehera27","html_url":"https://github.com/sujitbehera27","followers_url":"https://api.github.com/users/sujitbehera27/followers","following_url":"https://api.github.com/users/sujitbehera27/following{/other_user}","gists_url":"https://api.github.com/users/sujitbehera27/gists{/gist_id}","starred_url":"https://api.github.com/users/sujitbehera27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujitbehera27/subscriptions","organizations_url":"https://api.github.com/users/sujitbehera27/orgs","repos_url":"https://api.github.com/users/sujitbehera27/repos","events_url":"https://api.github.com/users/sujitbehera27/events{/privacy}","received_events_url":"https://api.github.com/users/sujitbehera27/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sujitbehera27/rcloud","description":"RCloud is an HTML5 frontend for collaboratively developing and sharing R scripts","fork":true,"url":"https://api.github.com/repos/sujitbehera27/rcloud","forks_url":"https://api.github.com/repos/sujitbehera27/rcloud/forks","keys_url":"https://api.github.com/repos/sujitbehera27/rcloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sujitbehera27/rcloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sujitbehera27/rcloud/teams","hooks_url":"https://api.github.com/repos/sujitbehera27/rcloud/hooks","issue_events_url":"https://api.github.com/repos/sujitbehera27/rcloud/issues/events{/number}","events_url":"https://api.github.com/repos/sujitbehera27/rcloud/events","assignees_url":"https://api.github.com/repos/sujitbehera27/rcloud/assignees{/user}","branches_url":"https://api.github.com/repos/sujitbehera27/rcloud/branches{/branch}","tags_url":"https://api.github.com/repos/sujitbehera27/rcloud/tags","blobs_url":"https://api.github.com/repos/sujitbehera27/rcloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sujitbehera27/rcloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sujitbehera27/rcloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/sujitbehera27/rcloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sujitbehera27/rcloud/statuses/{sha}","languages_url":"https://api.github.com/repos/sujitbehera27/rcloud/languages","stargazers_url":"https://api.github.com/repos/sujitbehera27/rcloud/stargazers","contributors_url":"https://api.github.com/repos/sujitbehera27/rcloud/contributors","subscribers_url":"https://api.github.com/repos/sujitbehera27/rcloud/subscribers","subscription_url":"https://api.github.com/repos/sujitbehera27/rcloud/subscription","commits_url":"https://api.github.com/repos/sujitbehera27/rcloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/sujitbehera27/rcloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/sujitbehera27/rcloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/sujitbehera27/rcloud/issues/comments/{number}","contents_url":"https://api.github.com/repos/sujitbehera27/rcloud/contents/{+path}","compare_url":"https://api.github.com/repos/sujitbehera27/rcloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sujitbehera27/rcloud/merges","archive_url":"https://api.github.com/repos/sujitbehera27/rcloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sujitbehera27/rcloud/downloads","issues_url":"https://api.github.com/repos/sujitbehera27/rcloud/issues{/number}","pulls_url":"https://api.github.com/repos/sujitbehera27/rcloud/pulls{/number}","milestones_url":"https://api.github.com/repos/sujitbehera27/rcloud/milestones{/number}","notifications_url":"https://api.github.com/repos/sujitbehera27/rcloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sujitbehera27/rcloud/labels{/name}","releases_url":"https://api.github.com/repos/sujitbehera27/rcloud/releases{/id}","created_at":"2014-06-08T04:38:43Z","updated_at":"2014-06-26T12:45:54Z","pushed_at":"2014-07-28T17:39:04Z","git_url":"git://github.com/sujitbehera27/rcloud.git","ssh_url":"git@github.com:sujitbehera27/rcloud.git","clone_url":"https://github.com/sujitbehera27/rcloud.git","svn_url":"https://github.com/sujitbehera27/rcloud","homepage":"","size":30155,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"att:develop","ref":"develop","sha":"1ab7ba441b2aeb93557dba19b55dc1efa5c7cd21","user":{"login":"att","id":3477066,"avatar_url":"https://avatars.githubusercontent.com/u/3477066?","gravatar_id":"fd056b0ffba44a2b04f511214c5fcabb","url":"https://api.github.com/users/att","html_url":"https://github.com/att","followers_url":"https://api.github.com/users/att/followers","following_url":"https://api.github.com/users/att/following{/other_user}","gists_url":"https://api.github.com/users/att/gists{/gist_id}","starred_url":"https://api.github.com/users/att/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/att/subscriptions","organizations_url":"https://api.github.com/users/att/orgs","repos_url":"https://api.github.com/users/att/repos","events_url":"https://api.github.com/users/att/events{/privacy}","received_events_url":"https://api.github.com/users/att/received_events","type":"Organization","site_admin":false},"repo":{"id":5250457,"name":"rcloud","full_name":"att/rcloud","owner":{"login":"att","id":3477066,"avatar_url":"https://avatars.githubusercontent.com/u/3477066?","gravatar_id":"fd056b0ffba44a2b04f511214c5fcabb","url":"https://api.github.com/users/att","html_url":"https://github.com/att","followers_url":"https://api.github.com/users/att/followers","following_url":"https://api.github.com/users/att/following{/other_user}","gists_url":"https://api.github.com/users/att/gists{/gist_id}","starred_url":"https://api.github.com/users/att/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/att/subscriptions","organizations_url":"https://api.github.com/users/att/orgs","repos_url":"https://api.github.com/users/att/repos","events_url":"https://api.github.com/users/att/events{/privacy}","received_events_url":"https://api.github.com/users/att/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/att/rcloud","description":"RCloud is an HTML5 frontend for collaboratively developing and sharing R scripts","fork":false,"url":"https://api.github.com/repos/att/rcloud","forks_url":"https://api.github.com/repos/att/rcloud/forks","keys_url":"https://api.github.com/repos/att/rcloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/att/rcloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/att/rcloud/teams","hooks_url":"https://api.github.com/repos/att/rcloud/hooks","issue_events_url":"https://api.github.com/repos/att/rcloud/issues/events{/number}","events_url":"https://api.github.com/repos/att/rcloud/events","assignees_url":"https://api.github.com/repos/att/rcloud/assignees{/user}","branches_url":"https://api.github.com/repos/att/rcloud/branches{/branch}","tags_url":"https://api.github.com/repos/att/rcloud/tags","blobs_url":"https://api.github.com/repos/att/rcloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/att/rcloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/att/rcloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/att/rcloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/att/rcloud/statuses/{sha}","languages_url":"https://api.github.com/repos/att/rcloud/languages","stargazers_url":"https://api.github.com/repos/att/rcloud/stargazers","contributors_url":"https://api.github.com/repos/att/rcloud/contributors","subscribers_url":"https://api.github.com/repos/att/rcloud/subscribers","subscription_url":"https://api.github.com/repos/att/rcloud/subscription","commits_url":"https://api.github.com/repos/att/rcloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/att/rcloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/att/rcloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/att/rcloud/issues/comments/{number}","contents_url":"https://api.github.com/repos/att/rcloud/contents/{+path}","compare_url":"https://api.github.com/repos/att/rcloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/att/rcloud/merges","archive_url":"https://api.github.com/repos/att/rcloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/att/rcloud/downloads","issues_url":"https://api.github.com/repos/att/rcloud/issues{/number}","pulls_url":"https://api.github.com/repos/att/rcloud/pulls{/number}","milestones_url":"https://api.github.com/repos/att/rcloud/milestones{/number}","notifications_url":"https://api.github.com/repos/att/rcloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/att/rcloud/labels{/name}","releases_url":"https://api.github.com/repos/att/rcloud/releases{/id}","created_at":"2012-07-31T19:32:52Z","updated_at":"2014-07-27T06:35:08Z","pushed_at":"2014-07-28T20:55:27Z","git_url":"git://github.com/att/rcloud.git","ssh_url":"git@github.com:att/rcloud.git","clone_url":"https://github.com/att/rcloud.git","svn_url":"https://github.com/att/rcloud","homepage":"","size":39189,"stargazers_count":114,"watchers_count":114,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":33,"mirror_url":null,"open_issues_count":202,"forks":33,"open_issues":202,"watchers":114,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/att/rcloud/pulls/796"},"html":{"href":"https://github.com/att/rcloud/pull/796"},"issue":{"href":"https://api.github.com/repos/att/rcloud/issues/796"},"comments":{"href":"https://api.github.com/repos/att/rcloud/issues/796/comments"},"review_comments":{"href":"https://api.github.com/repos/att/rcloud/pulls/796/comments"},"review_comment":{"href":"https://api.github.com/repos/att/rcloud/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/att/rcloud/pulls/796/commits"},"statuses":{"href":"https://api.github.com/repos/att/rcloud/statuses/78889061d59da479c99ff828f847dcf57b7824de"}}}}