{"action":"created","comment":{"url":"https://api.github.com/repos/otavanopisto/muikku/pulls/comments/43728172","id":43728172,"diff_hunk":"@@ -220,19 +189,42 @@\n           return pairs;\n         }\n       },\n-      \n-      _onConnection: function (info) {\n-        this._element.find('input[name=\"' + $(info.source).data('field-name') + '\"]').val($(info.target).data('field-value'));\n+      _updateValues: function () {\n+        var _this = this;\n+        this._element.find('.muikku-connect-field-term').each(function(i){","path":"muikku-core-plugins/src/main/resources/META-INF/resources/scripts/gui/muikku-connect-field-component.js","position":190,"original_position":190,"commit_id":"7acc1b397b58eeb0c5c369ac9c1395e78209e926","original_commit_id":"7acc1b397b58eeb0c5c369ac9c1395e78209e926","user":{"login":"anttileppa","id":1730736,"avatar_url":"https://avatars.githubusercontent.com/u/1730736?v=3","gravatar_id":"","url":"https://api.github.com/users/anttileppa","html_url":"https://github.com/anttileppa","followers_url":"https://api.github.com/users/anttileppa/followers","following_url":"https://api.github.com/users/anttileppa/following{/other_user}","gists_url":"https://api.github.com/users/anttileppa/gists{/gist_id}","starred_url":"https://api.github.com/users/anttileppa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anttileppa/subscriptions","organizations_url":"https://api.github.com/users/anttileppa/orgs","repos_url":"https://api.github.com/users/anttileppa/repos","events_url":"https://api.github.com/users/anttileppa/events{/privacy}","received_events_url":"https://api.github.com/users/anttileppa/received_events","type":"User","site_admin":false},"body":"$.proxy","created_at":"2015-11-03T09:26:53Z","updated_at":"2015-11-03T09:26:53Z","html_url":"https://github.com/otavanopisto/muikku/pull/858#discussion_r43728172","pull_request_url":"https://api.github.com/repos/otavanopisto/muikku/pulls/858","_links":{"self":{"href":"https://api.github.com/repos/otavanopisto/muikku/pulls/comments/43728172"},"html":{"href":"https://github.com/otavanopisto/muikku/pull/858#discussion_r43728172"},"pull_request":{"href":"https://api.github.com/repos/otavanopisto/muikku/pulls/858"}}},"pull_request":{"url":"https://api.github.com/repos/otavanopisto/muikku/pulls/858","id":49531753,"html_url":"https://github.com/otavanopisto/muikku/pull/858","diff_url":"https://github.com/otavanopisto/muikku/pull/858.diff","patch_url":"https://github.com/otavanopisto/muikku/pull/858.patch","issue_url":"https://api.github.com/repos/otavanopisto/muikku/issues/858","number":858,"state":"open","locked":false,"title":"Ftr 489 improved connect field","user":{"login":"hkurhinen","id":5680581,"avatar_url":"https://avatars.githubusercontent.com/u/5680581?v=3","gravatar_id":"","url":"https://api.github.com/users/hkurhinen","html_url":"https://github.com/hkurhinen","followers_url":"https://api.github.com/users/hkurhinen/followers","following_url":"https://api.github.com/users/hkurhinen/following{/other_user}","gists_url":"https://api.github.com/users/hkurhinen/gists{/gist_id}","starred_url":"https://api.github.com/users/hkurhinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkurhinen/subscriptions","organizations_url":"https://api.github.com/users/hkurhinen/orgs","repos_url":"https://api.github.com/users/hkurhinen/repos","events_url":"https://api.github.com/users/hkurhinen/events{/privacy}","received_events_url":"https://api.github.com/users/hkurhinen/received_events","type":"User","site_admin":false},"body":"Fixes #489","created_at":"2015-11-03T09:06:06Z","updated_at":"2015-11-03T09:26:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a231a88c40e48f3c541c8642406e89236c1c2ca9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/otavanopisto/muikku/pulls/858/commits","review_comments_url":"https://api.github.com/repos/otavanopisto/muikku/pulls/858/comments","review_comment_url":"https://api.github.com/repos/otavanopisto/muikku/pulls/comments{/number}","comments_url":"https://api.github.com/repos/otavanopisto/muikku/issues/858/comments","statuses_url":"https://api.github.com/repos/otavanopisto/muikku/statuses/7acc1b397b58eeb0c5c369ac9c1395e78209e926","head":{"label":"otavanopisto:FTR-489_improved-connect-field","ref":"FTR-489_improved-connect-field","sha":"7acc1b397b58eeb0c5c369ac9c1395e78209e926","user":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"repo":{"id":8877030,"name":"muikku","full_name":"otavanopisto/muikku","owner":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/otavanopisto/muikku","description":"Muikku Learning Environment","fork":false,"url":"https://api.github.com/repos/otavanopisto/muikku","forks_url":"https://api.github.com/repos/otavanopisto/muikku/forks","keys_url":"https://api.github.com/repos/otavanopisto/muikku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otavanopisto/muikku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otavanopisto/muikku/teams","hooks_url":"https://api.github.com/repos/otavanopisto/muikku/hooks","issue_events_url":"https://api.github.com/repos/otavanopisto/muikku/issues/events{/number}","events_url":"https://api.github.com/repos/otavanopisto/muikku/events","assignees_url":"https://api.github.com/repos/otavanopisto/muikku/assignees{/user}","branches_url":"https://api.github.com/repos/otavanopisto/muikku/branches{/branch}","tags_url":"https://api.github.com/repos/otavanopisto/muikku/tags","blobs_url":"https://api.github.com/repos/otavanopisto/muikku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otavanopisto/muikku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otavanopisto/muikku/git/refs{/sha}","trees_url":"https://api.github.com/repos/otavanopisto/muikku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otavanopisto/muikku/statuses/{sha}","languages_url":"https://api.github.com/repos/otavanopisto/muikku/languages","stargazers_url":"https://api.github.com/repos/otavanopisto/muikku/stargazers","contributors_url":"https://api.github.com/repos/otavanopisto/muikku/contributors","subscribers_url":"https://api.github.com/repos/otavanopisto/muikku/subscribers","subscription_url":"https://api.github.com/repos/otavanopisto/muikku/subscription","commits_url":"https://api.github.com/repos/otavanopisto/muikku/commits{/sha}","git_commits_url":"https://api.github.com/repos/otavanopisto/muikku/git/commits{/sha}","comments_url":"https://api.github.com/repos/otavanopisto/muikku/comments{/number}","issue_comment_url":"https://api.github.com/repos/otavanopisto/muikku/issues/comments{/number}","contents_url":"https://api.github.com/repos/otavanopisto/muikku/contents/{+path}","compare_url":"https://api.github.com/repos/otavanopisto/muikku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otavanopisto/muikku/merges","archive_url":"https://api.github.com/repos/otavanopisto/muikku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otavanopisto/muikku/downloads","issues_url":"https://api.github.com/repos/otavanopisto/muikku/issues{/number}","pulls_url":"https://api.github.com/repos/otavanopisto/muikku/pulls{/number}","milestones_url":"https://api.github.com/repos/otavanopisto/muikku/milestones{/number}","notifications_url":"https://api.github.com/repos/otavanopisto/muikku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otavanopisto/muikku/labels{/name}","releases_url":"https://api.github.com/repos/otavanopisto/muikku/releases{/id}","created_at":"2013-03-19T11:30:32Z","updated_at":"2015-07-31T12:46:34Z","pushed_at":"2015-11-03T09:06:06Z","git_url":"git://github.com/otavanopisto/muikku.git","ssh_url":"git@github.com:otavanopisto/muikku.git","clone_url":"https://github.com/otavanopisto/muikku.git","svn_url":"https://github.com/otavanopisto/muikku","homepage":null,"size":275816,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":356,"forks":0,"open_issues":356,"watchers":4,"default_branch":"master"}},"base":{"label":"otavanopisto:devel","ref":"devel","sha":"90c3c97afa850f8276dcfa6398a7a198bde343a4","user":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"repo":{"id":8877030,"name":"muikku","full_name":"otavanopisto/muikku","owner":{"login":"otavanopisto","id":3909061,"avatar_url":"https://avatars.githubusercontent.com/u/3909061?v=3","gravatar_id":"","url":"https://api.github.com/users/otavanopisto","html_url":"https://github.com/otavanopisto","followers_url":"https://api.github.com/users/otavanopisto/followers","following_url":"https://api.github.com/users/otavanopisto/following{/other_user}","gists_url":"https://api.github.com/users/otavanopisto/gists{/gist_id}","starred_url":"https://api.github.com/users/otavanopisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otavanopisto/subscriptions","organizations_url":"https://api.github.com/users/otavanopisto/orgs","repos_url":"https://api.github.com/users/otavanopisto/repos","events_url":"https://api.github.com/users/otavanopisto/events{/privacy}","received_events_url":"https://api.github.com/users/otavanopisto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/otavanopisto/muikku","description":"Muikku Learning Environment","fork":false,"url":"https://api.github.com/repos/otavanopisto/muikku","forks_url":"https://api.github.com/repos/otavanopisto/muikku/forks","keys_url":"https://api.github.com/repos/otavanopisto/muikku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otavanopisto/muikku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otavanopisto/muikku/teams","hooks_url":"https://api.github.com/repos/otavanopisto/muikku/hooks","issue_events_url":"https://api.github.com/repos/otavanopisto/muikku/issues/events{/number}","events_url":"https://api.github.com/repos/otavanopisto/muikku/events","assignees_url":"https://api.github.com/repos/otavanopisto/muikku/assignees{/user}","branches_url":"https://api.github.com/repos/otavanopisto/muikku/branches{/branch}","tags_url":"https://api.github.com/repos/otavanopisto/muikku/tags","blobs_url":"https://api.github.com/repos/otavanopisto/muikku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otavanopisto/muikku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otavanopisto/muikku/git/refs{/sha}","trees_url":"https://api.github.com/repos/otavanopisto/muikku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otavanopisto/muikku/statuses/{sha}","languages_url":"https://api.github.com/repos/otavanopisto/muikku/languages","stargazers_url":"https://api.github.com/repos/otavanopisto/muikku/stargazers","contributors_url":"https://api.github.com/repos/otavanopisto/muikku/contributors","subscribers_url":"https://api.github.com/repos/otavanopisto/muikku/subscribers","subscription_url":"https://api.github.com/repos/otavanopisto/muikku/subscription","commits_url":"https://api.github.com/repos/otavanopisto/muikku/commits{/sha}","git_commits_url":"https://api.github.com/repos/otavanopisto/muikku/git/commits{/sha}","comments_url":"https://api.github.com/repos/otavanopisto/muikku/comments{/number}","issue_comment_url":"https://api.github.com/repos/otavanopisto/muikku/issues/comments{/number}","contents_url":"https://api.github.com/repos/otavanopisto/muikku/contents/{+path}","compare_url":"https://api.github.com/repos/otavanopisto/muikku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otavanopisto/muikku/merges","archive_url":"https://api.github.com/repos/otavanopisto/muikku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otavanopisto/muikku/downloads","issues_url":"https://api.github.com/repos/otavanopisto/muikku/issues{/number}","pulls_url":"https://api.github.com/repos/otavanopisto/muikku/pulls{/number}","milestones_url":"https://api.github.com/repos/otavanopisto/muikku/milestones{/number}","notifications_url":"https://api.github.com/repos/otavanopisto/muikku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otavanopisto/muikku/labels{/name}","releases_url":"https://api.github.com/repos/otavanopisto/muikku/releases{/id}","created_at":"2013-03-19T11:30:32Z","updated_at":"2015-07-31T12:46:34Z","pushed_at":"2015-11-03T09:06:06Z","git_url":"git://github.com/otavanopisto/muikku.git","ssh_url":"git@github.com:otavanopisto/muikku.git","clone_url":"https://github.com/otavanopisto/muikku.git","svn_url":"https://github.com/otavanopisto/muikku","homepage":null,"size":275816,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":356,"forks":0,"open_issues":356,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/otavanopisto/muikku/pulls/858"},"html":{"href":"https://github.com/otavanopisto/muikku/pull/858"},"issue":{"href":"https://api.github.com/repos/otavanopisto/muikku/issues/858"},"comments":{"href":"https://api.github.com/repos/otavanopisto/muikku/issues/858/comments"},"review_comments":{"href":"https://api.github.com/repos/otavanopisto/muikku/pulls/858/comments"},"review_comment":{"href":"https://api.github.com/repos/otavanopisto/muikku/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/otavanopisto/muikku/pulls/858/commits"},"statuses":{"href":"https://api.github.com/repos/otavanopisto/muikku/statuses/7acc1b397b58eeb0c5c369ac9c1395e78209e926"}}}}