{"action":"created","comment":{"url":"https://api.github.com/repos/orrabin/foreman/pulls/comments/30420959","id":30420959,"diff_hunk":"@@ -2,6 +2,47 @@ $(document).on('ContentLoad', function(){onHostEditLoad()});\n $(document).on('AddedClass', function(event, link){load_puppet_class_parameters(link)});\n $(document).on('click', '#params-tab', function() { resizeTextareas($('#params')); });\n \n+LookupValueController = function(item) {","path":"app/assets/javascripts/host_edit.js","position":4,"original_position":4,"commit_id":"8e6f27db83fba3bf9392f5653dd4eb604a54dbc5","original_commit_id":"ed5d2d3ee6d76f52b8209fbd6ba2bfeba9e1c9fc","user":{"login":"waldenraines","id":4116405,"avatar_url":"https://avatars.githubusercontent.com/u/4116405?v=3","gravatar_id":"","url":"https://api.github.com/users/waldenraines","html_url":"https://github.com/waldenraines","followers_url":"https://api.github.com/users/waldenraines/followers","following_url":"https://api.github.com/users/waldenraines/following{/other_user}","gists_url":"https://api.github.com/users/waldenraines/gists{/gist_id}","starred_url":"https://api.github.com/users/waldenraines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldenraines/subscriptions","organizations_url":"https://api.github.com/users/waldenraines/orgs","repos_url":"https://api.github.com/users/waldenraines/repos","events_url":"https://api.github.com/users/waldenraines/events{/privacy}","received_events_url":"https://api.github.com/users/waldenraines/received_events","type":"User","site_admin":false},"body":"Extra get request?  Aren't these JS files all combined down into one minified file?  The extra GET would only be present in development mode.  Splitting this out into its own file would make it easier to find in the future.","created_at":"2015-05-15T15:59:01Z","updated_at":"2015-05-15T15:59:01Z","html_url":"https://github.com/orrabin/foreman/pull/3#discussion_r30420959","pull_request_url":"https://api.github.com/repos/orrabin/foreman/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/orrabin/foreman/pulls/comments/30420959"},"html":{"href":"https://github.com/orrabin/foreman/pull/3#discussion_r30420959"},"pull_request":{"href":"https://api.github.com/repos/orrabin/foreman/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/orrabin/foreman/pulls/3","id":34823832,"html_url":"https://github.com/orrabin/foreman/pull/3","diff_url":"https://github.com/orrabin/foreman/pull/3.diff","patch_url":"https://github.com/orrabin/foreman/pull/3.patch","issue_url":"https://api.github.com/repos/orrabin/foreman/issues/3","number":3,"state":"open","locked":false,"title":"10467 -parameter override ui","user":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-06T14:44:17Z","updated_at":"2015-05-15T15:59:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9dd1aa6a94824eae4b7bff6c5d5bb11aeb1ca3ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/orrabin/foreman/pulls/3/commits","review_comments_url":"https://api.github.com/repos/orrabin/foreman/pulls/3/comments","review_comment_url":"https://api.github.com/repos/orrabin/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/orrabin/foreman/issues/3/comments","statuses_url":"https://api.github.com/repos/orrabin/foreman/statuses/8e6f27db83fba3bf9392f5653dd4eb604a54dbc5","head":{"label":"unorthodoxgeek:parameters","ref":"parameters","sha":"8e6f27db83fba3bf9392f5653dd4eb604a54dbc5","user":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"repo":{"id":27370503,"name":"foreman","full_name":"unorthodoxgeek/foreman","owner":{"login":"unorthodoxgeek","id":706359,"avatar_url":"https://avatars.githubusercontent.com/u/706359?v=3","gravatar_id":"","url":"https://api.github.com/users/unorthodoxgeek","html_url":"https://github.com/unorthodoxgeek","followers_url":"https://api.github.com/users/unorthodoxgeek/followers","following_url":"https://api.github.com/users/unorthodoxgeek/following{/other_user}","gists_url":"https://api.github.com/users/unorthodoxgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/unorthodoxgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unorthodoxgeek/subscriptions","organizations_url":"https://api.github.com/users/unorthodoxgeek/orgs","repos_url":"https://api.github.com/users/unorthodoxgeek/repos","events_url":"https://api.github.com/users/unorthodoxgeek/events{/privacy}","received_events_url":"https://api.github.com/users/unorthodoxgeek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unorthodoxgeek/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/unorthodoxgeek/foreman","forks_url":"https://api.github.com/repos/unorthodoxgeek/foreman/forks","keys_url":"https://api.github.com/repos/unorthodoxgeek/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unorthodoxgeek/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unorthodoxgeek/foreman/teams","hooks_url":"https://api.github.com/repos/unorthodoxgeek/foreman/hooks","issue_events_url":"https://api.github.com/repos/unorthodoxgeek/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/unorthodoxgeek/foreman/events","assignees_url":"https://api.github.com/repos/unorthodoxgeek/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/unorthodoxgeek/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/unorthodoxgeek/foreman/tags","blobs_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unorthodoxgeek/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/unorthodoxgeek/foreman/languages","stargazers_url":"https://api.github.com/repos/unorthodoxgeek/foreman/stargazers","contributors_url":"https://api.github.com/repos/unorthodoxgeek/foreman/contributors","subscribers_url":"https://api.github.com/repos/unorthodoxgeek/foreman/subscribers","subscription_url":"https://api.github.com/repos/unorthodoxgeek/foreman/subscription","commits_url":"https://api.github.com/repos/unorthodoxgeek/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/unorthodoxgeek/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/unorthodoxgeek/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/unorthodoxgeek/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/unorthodoxgeek/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/unorthodoxgeek/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unorthodoxgeek/foreman/merges","archive_url":"https://api.github.com/repos/unorthodoxgeek/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unorthodoxgeek/foreman/downloads","issues_url":"https://api.github.com/repos/unorthodoxgeek/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/unorthodoxgeek/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/unorthodoxgeek/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/unorthodoxgeek/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unorthodoxgeek/foreman/labels{/name}","releases_url":"https://api.github.com/repos/unorthodoxgeek/foreman/releases{/id}","created_at":"2014-12-01T08:46:29Z","updated_at":"2015-02-22T13:59:01Z","pushed_at":"2015-05-14T13:53:59Z","git_url":"git://github.com/unorthodoxgeek/foreman.git","ssh_url":"git@github.com:unorthodoxgeek/foreman.git","clone_url":"https://github.com/unorthodoxgeek/foreman.git","svn_url":"https://github.com/unorthodoxgeek/foreman","homepage":"http://theforeman.org","size":31135,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"orrabin:parameters","ref":"parameters","sha":"edfc50bad93faf879f0b3c4ce586c87656c21ab4","user":{"login":"orrabin","id":7894647,"avatar_url":"https://avatars.githubusercontent.com/u/7894647?v=3","gravatar_id":"","url":"https://api.github.com/users/orrabin","html_url":"https://github.com/orrabin","followers_url":"https://api.github.com/users/orrabin/followers","following_url":"https://api.github.com/users/orrabin/following{/other_user}","gists_url":"https://api.github.com/users/orrabin/gists{/gist_id}","starred_url":"https://api.github.com/users/orrabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orrabin/subscriptions","organizations_url":"https://api.github.com/users/orrabin/orgs","repos_url":"https://api.github.com/users/orrabin/repos","events_url":"https://api.github.com/users/orrabin/events{/privacy}","received_events_url":"https://api.github.com/users/orrabin/received_events","type":"User","site_admin":false},"repo":{"id":20857418,"name":"foreman","full_name":"orrabin/foreman","owner":{"login":"orrabin","id":7894647,"avatar_url":"https://avatars.githubusercontent.com/u/7894647?v=3","gravatar_id":"","url":"https://api.github.com/users/orrabin","html_url":"https://github.com/orrabin","followers_url":"https://api.github.com/users/orrabin/followers","following_url":"https://api.github.com/users/orrabin/following{/other_user}","gists_url":"https://api.github.com/users/orrabin/gists{/gist_id}","starred_url":"https://api.github.com/users/orrabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orrabin/subscriptions","organizations_url":"https://api.github.com/users/orrabin/orgs","repos_url":"https://api.github.com/users/orrabin/repos","events_url":"https://api.github.com/users/orrabin/events{/privacy}","received_events_url":"https://api.github.com/users/orrabin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/orrabin/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/orrabin/foreman","forks_url":"https://api.github.com/repos/orrabin/foreman/forks","keys_url":"https://api.github.com/repos/orrabin/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orrabin/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orrabin/foreman/teams","hooks_url":"https://api.github.com/repos/orrabin/foreman/hooks","issue_events_url":"https://api.github.com/repos/orrabin/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/orrabin/foreman/events","assignees_url":"https://api.github.com/repos/orrabin/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/orrabin/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/orrabin/foreman/tags","blobs_url":"https://api.github.com/repos/orrabin/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orrabin/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orrabin/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/orrabin/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orrabin/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/orrabin/foreman/languages","stargazers_url":"https://api.github.com/repos/orrabin/foreman/stargazers","contributors_url":"https://api.github.com/repos/orrabin/foreman/contributors","subscribers_url":"https://api.github.com/repos/orrabin/foreman/subscribers","subscription_url":"https://api.github.com/repos/orrabin/foreman/subscription","commits_url":"https://api.github.com/repos/orrabin/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/orrabin/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/orrabin/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/orrabin/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/orrabin/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/orrabin/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orrabin/foreman/merges","archive_url":"https://api.github.com/repos/orrabin/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orrabin/foreman/downloads","issues_url":"https://api.github.com/repos/orrabin/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/orrabin/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/orrabin/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/orrabin/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orrabin/foreman/labels{/name}","releases_url":"https://api.github.com/repos/orrabin/foreman/releases{/id}","created_at":"2014-06-15T14:38:41Z","updated_at":"2014-06-29T14:44:11Z","pushed_at":"2015-05-14T12:32:43Z","git_url":"git://github.com/orrabin/foreman.git","ssh_url":"git@github.com:orrabin/foreman.git","clone_url":"https://github.com/orrabin/foreman.git","svn_url":"https://github.com/orrabin/foreman","homepage":"http://theforeman.org","size":26141,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/orrabin/foreman/pulls/3"},"html":{"href":"https://github.com/orrabin/foreman/pull/3"},"issue":{"href":"https://api.github.com/repos/orrabin/foreman/issues/3"},"comments":{"href":"https://api.github.com/repos/orrabin/foreman/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/orrabin/foreman/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/orrabin/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/orrabin/foreman/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/orrabin/foreman/statuses/8e6f27db83fba3bf9392f5653dd4eb604a54dbc5"}}}}