{"action":"created","comment":{"url":"https://api.github.com/repos/fheng/formbuilder/pulls/comments/44151835","id":44151835,"diff_hunk":"@@ -253,6 +256,25 @@ class Formbuilder\n \n       forceRender: ->\n         @model.trigger('change', @model)\n+      toggleDSView: (e) ->\n+        $el = $(e.target);","path":"coffee/main.coffee","position":31,"original_position":31,"commit_id":"4a6cc26180fa7e6db354c486ef37e34de764c5c1","original_commit_id":"4a6cc26180fa7e6db354c486ef37e34de764c5c1","user":{"login":"nialldonnellyfh","id":5014661,"avatar_url":"https://avatars.githubusercontent.com/u/5014661?v=3","gravatar_id":"","url":"https://api.github.com/users/nialldonnellyfh","html_url":"https://github.com/nialldonnellyfh","followers_url":"https://api.github.com/users/nialldonnellyfh/followers","following_url":"https://api.github.com/users/nialldonnellyfh/following{/other_user}","gists_url":"https://api.github.com/users/nialldonnellyfh/gists{/gist_id}","starred_url":"https://api.github.com/users/nialldonnellyfh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nialldonnellyfh/subscriptions","organizations_url":"https://api.github.com/users/nialldonnellyfh/orgs","repos_url":"https://api.github.com/users/nialldonnellyfh/repos","events_url":"https://api.github.com/users/nialldonnellyfh/events{/privacy}","received_events_url":"https://api.github.com/users/nialldonnellyfh/received_events","type":"User","site_admin":false},"body":"I don't think it would be good to have the formbuilder do the ajax request to populate the list of data sources.\r\n\r\nLoading the data sources should only ever need to be done once, and then sent to the formbuilder when it is initialised in fh-ngui.\r\n\r\n","created_at":"2015-11-06T15:55:13Z","updated_at":"2015-11-06T15:55:13Z","html_url":"https://github.com/fheng/formbuilder/pull/9#discussion_r44151835","pull_request_url":"https://api.github.com/repos/fheng/formbuilder/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/fheng/formbuilder/pulls/comments/44151835"},"html":{"href":"https://github.com/fheng/formbuilder/pull/9#discussion_r44151835"},"pull_request":{"href":"https://api.github.com/repos/fheng/formbuilder/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/fheng/formbuilder/pulls/9","id":49968293,"html_url":"https://github.com/fheng/formbuilder/pull/9","diff_url":"https://github.com/fheng/formbuilder/pull/9.diff","patch_url":"https://github.com/fheng/formbuilder/pull/9.patch","issue_url":"https://api.github.com/repos/fheng/formbuilder/issues/9","number":9,"state":"open","locked":false,"title":"RFC - Rhmap 2787 ds list","user":{"login":"lholmquist","id":1037138,"avatar_url":"https://avatars.githubusercontent.com/u/1037138?v=3","gravatar_id":"","url":"https://api.github.com/users/lholmquist","html_url":"https://github.com/lholmquist","followers_url":"https://api.github.com/users/lholmquist/followers","following_url":"https://api.github.com/users/lholmquist/following{/other_user}","gists_url":"https://api.github.com/users/lholmquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lholmquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lholmquist/subscriptions","organizations_url":"https://api.github.com/users/lholmquist/orgs","repos_url":"https://api.github.com/users/lholmquist/repos","events_url":"https://api.github.com/users/lholmquist/events{/privacy}","received_events_url":"https://api.github.com/users/lholmquist/received_events","type":"User","site_admin":false},"body":"This adds just a drop down list in the options section for checkboxes, drop downs and radio, of the list of datasources \r\n\r\nFor https://issues.jboss.org/browse/RHMAP-2787","created_at":"2015-11-06T15:43:25Z","updated_at":"2015-11-06T15:55:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97c75b0227d7a0fc8a56d5fc5b521c631ef9af0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fheng/formbuilder/pulls/9/commits","review_comments_url":"https://api.github.com/repos/fheng/formbuilder/pulls/9/comments","review_comment_url":"https://api.github.com/repos/fheng/formbuilder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fheng/formbuilder/issues/9/comments","statuses_url":"https://api.github.com/repos/fheng/formbuilder/statuses/4a6cc26180fa7e6db354c486ef37e34de764c5c1","head":{"label":"lholmquist:rhmap-2787-ds-list","ref":"rhmap-2787-ds-list","sha":"4a6cc26180fa7e6db354c486ef37e34de764c5c1","user":{"login":"lholmquist","id":1037138,"avatar_url":"https://avatars.githubusercontent.com/u/1037138?v=3","gravatar_id":"","url":"https://api.github.com/users/lholmquist","html_url":"https://github.com/lholmquist","followers_url":"https://api.github.com/users/lholmquist/followers","following_url":"https://api.github.com/users/lholmquist/following{/other_user}","gists_url":"https://api.github.com/users/lholmquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lholmquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lholmquist/subscriptions","organizations_url":"https://api.github.com/users/lholmquist/orgs","repos_url":"https://api.github.com/users/lholmquist/repos","events_url":"https://api.github.com/users/lholmquist/events{/privacy}","received_events_url":"https://api.github.com/users/lholmquist/received_events","type":"User","site_admin":false},"repo":{"id":45408936,"name":"formbuilder","full_name":"lholmquist/formbuilder","owner":{"login":"lholmquist","id":1037138,"avatar_url":"https://avatars.githubusercontent.com/u/1037138?v=3","gravatar_id":"","url":"https://api.github.com/users/lholmquist","html_url":"https://github.com/lholmquist","followers_url":"https://api.github.com/users/lholmquist/followers","following_url":"https://api.github.com/users/lholmquist/following{/other_user}","gists_url":"https://api.github.com/users/lholmquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lholmquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lholmquist/subscriptions","organizations_url":"https://api.github.com/users/lholmquist/orgs","repos_url":"https://api.github.com/users/lholmquist/repos","events_url":"https://api.github.com/users/lholmquist/events{/privacy}","received_events_url":"https://api.github.com/users/lholmquist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lholmquist/formbuilder","description":"Formbuilder is a small graphical interface for letting users build their own webforms.","fork":true,"url":"https://api.github.com/repos/lholmquist/formbuilder","forks_url":"https://api.github.com/repos/lholmquist/formbuilder/forks","keys_url":"https://api.github.com/repos/lholmquist/formbuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lholmquist/formbuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lholmquist/formbuilder/teams","hooks_url":"https://api.github.com/repos/lholmquist/formbuilder/hooks","issue_events_url":"https://api.github.com/repos/lholmquist/formbuilder/issues/events{/number}","events_url":"https://api.github.com/repos/lholmquist/formbuilder/events","assignees_url":"https://api.github.com/repos/lholmquist/formbuilder/assignees{/user}","branches_url":"https://api.github.com/repos/lholmquist/formbuilder/branches{/branch}","tags_url":"https://api.github.com/repos/lholmquist/formbuilder/tags","blobs_url":"https://api.github.com/repos/lholmquist/formbuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lholmquist/formbuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lholmquist/formbuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/lholmquist/formbuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lholmquist/formbuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/lholmquist/formbuilder/languages","stargazers_url":"https://api.github.com/repos/lholmquist/formbuilder/stargazers","contributors_url":"https://api.github.com/repos/lholmquist/formbuilder/contributors","subscribers_url":"https://api.github.com/repos/lholmquist/formbuilder/subscribers","subscription_url":"https://api.github.com/repos/lholmquist/formbuilder/subscription","commits_url":"https://api.github.com/repos/lholmquist/formbuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/lholmquist/formbuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/lholmquist/formbuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/lholmquist/formbuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/lholmquist/formbuilder/contents/{+path}","compare_url":"https://api.github.com/repos/lholmquist/formbuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lholmquist/formbuilder/merges","archive_url":"https://api.github.com/repos/lholmquist/formbuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lholmquist/formbuilder/downloads","issues_url":"https://api.github.com/repos/lholmquist/formbuilder/issues{/number}","pulls_url":"https://api.github.com/repos/lholmquist/formbuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/lholmquist/formbuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/lholmquist/formbuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lholmquist/formbuilder/labels{/name}","releases_url":"https://api.github.com/repos/lholmquist/formbuilder/releases{/id}","created_at":"2015-11-02T17:04:26Z","updated_at":"2015-11-02T17:04:27Z","pushed_at":"2015-11-06T15:43:12Z","git_url":"git://github.com/lholmquist/formbuilder.git","ssh_url":"git@github.com:lholmquist/formbuilder.git","clone_url":"https://github.com/lholmquist/formbuilder.git","svn_url":"https://github.com/lholmquist/formbuilder","homepage":"http://dobtco.github.io/formbuilder/","size":11251,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fheng:rhamp-722_backend_app_forms_integration","ref":"rhamp-722_backend_app_forms_integration","sha":"bb8ad883956371d705e3139d6e67991b34ac1e10","user":{"login":"fheng","id":2572945,"avatar_url":"https://avatars.githubusercontent.com/u/2572945?v=3","gravatar_id":"","url":"https://api.github.com/users/fheng","html_url":"https://github.com/fheng","followers_url":"https://api.github.com/users/fheng/followers","following_url":"https://api.github.com/users/fheng/following{/other_user}","gists_url":"https://api.github.com/users/fheng/gists{/gist_id}","starred_url":"https://api.github.com/users/fheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fheng/subscriptions","organizations_url":"https://api.github.com/users/fheng/orgs","repos_url":"https://api.github.com/users/fheng/repos","events_url":"https://api.github.com/users/fheng/events{/privacy}","received_events_url":"https://api.github.com/users/fheng/received_events","type":"Organization","site_admin":false},"repo":{"id":12982407,"name":"formbuilder","full_name":"fheng/formbuilder","owner":{"login":"fheng","id":2572945,"avatar_url":"https://avatars.githubusercontent.com/u/2572945?v=3","gravatar_id":"","url":"https://api.github.com/users/fheng","html_url":"https://github.com/fheng","followers_url":"https://api.github.com/users/fheng/followers","following_url":"https://api.github.com/users/fheng/following{/other_user}","gists_url":"https://api.github.com/users/fheng/gists{/gist_id}","starred_url":"https://api.github.com/users/fheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fheng/subscriptions","organizations_url":"https://api.github.com/users/fheng/orgs","repos_url":"https://api.github.com/users/fheng/repos","events_url":"https://api.github.com/users/fheng/events{/privacy}","received_events_url":"https://api.github.com/users/fheng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fheng/formbuilder","description":"Formbuilder is a small graphical interface for letting users build their own webforms.","fork":true,"url":"https://api.github.com/repos/fheng/formbuilder","forks_url":"https://api.github.com/repos/fheng/formbuilder/forks","keys_url":"https://api.github.com/repos/fheng/formbuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fheng/formbuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fheng/formbuilder/teams","hooks_url":"https://api.github.com/repos/fheng/formbuilder/hooks","issue_events_url":"https://api.github.com/repos/fheng/formbuilder/issues/events{/number}","events_url":"https://api.github.com/repos/fheng/formbuilder/events","assignees_url":"https://api.github.com/repos/fheng/formbuilder/assignees{/user}","branches_url":"https://api.github.com/repos/fheng/formbuilder/branches{/branch}","tags_url":"https://api.github.com/repos/fheng/formbuilder/tags","blobs_url":"https://api.github.com/repos/fheng/formbuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fheng/formbuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fheng/formbuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/fheng/formbuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fheng/formbuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/fheng/formbuilder/languages","stargazers_url":"https://api.github.com/repos/fheng/formbuilder/stargazers","contributors_url":"https://api.github.com/repos/fheng/formbuilder/contributors","subscribers_url":"https://api.github.com/repos/fheng/formbuilder/subscribers","subscription_url":"https://api.github.com/repos/fheng/formbuilder/subscription","commits_url":"https://api.github.com/repos/fheng/formbuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/fheng/formbuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/fheng/formbuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/fheng/formbuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/fheng/formbuilder/contents/{+path}","compare_url":"https://api.github.com/repos/fheng/formbuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fheng/formbuilder/merges","archive_url":"https://api.github.com/repos/fheng/formbuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fheng/formbuilder/downloads","issues_url":"https://api.github.com/repos/fheng/formbuilder/issues{/number}","pulls_url":"https://api.github.com/repos/fheng/formbuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/fheng/formbuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/fheng/formbuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fheng/formbuilder/labels{/name}","releases_url":"https://api.github.com/repos/fheng/formbuilder/releases{/id}","created_at":"2013-09-20T19:47:20Z","updated_at":"2015-04-15T13:58:38Z","pushed_at":"2015-11-06T15:43:26Z","git_url":"git://github.com/fheng/formbuilder.git","ssh_url":"git@github.com:fheng/formbuilder.git","clone_url":"https://github.com/fheng/formbuilder.git","svn_url":"https://github.com/fheng/formbuilder","homepage":"http://dobtco.github.io/formbuilder/","size":11251,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fheng/formbuilder/pulls/9"},"html":{"href":"https://github.com/fheng/formbuilder/pull/9"},"issue":{"href":"https://api.github.com/repos/fheng/formbuilder/issues/9"},"comments":{"href":"https://api.github.com/repos/fheng/formbuilder/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/fheng/formbuilder/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/fheng/formbuilder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fheng/formbuilder/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/fheng/formbuilder/statuses/4a6cc26180fa7e6db354c486ef37e34de764c5c1"}}}}