{"action":"created","comment":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/comments/46579154","id":46579154,"diff_hunk":"@@ -175,6 +175,8 @@\n                 _.each(mNames, function($multifield, mName){\n                     cmf.buildMultiField(data[mName], $multifield, mName);\n                 });\n+\n+                $document.trigger('touchui-composite-multifield-nodestore-ready');","path":"content/src/main/content/jcr_root/apps/acs-commons/touchui-widgets/source/touchui-composite-multifield-nodestore.js","position":5,"original_position":5,"commit_id":"717548ad4cc7c018ea92e4f44aa1284d991f9139","original_commit_id":"717548ad4cc7c018ea92e4f44aa1284d991f9139","user":{"login":"schoudry","id":6585493,"avatar_url":"https://avatars.githubusercontent.com/u/6585493?v=3","gravatar_id":"","url":"https://api.github.com/users/schoudry","html_url":"https://github.com/schoudry","followers_url":"https://api.github.com/users/schoudry/followers","following_url":"https://api.github.com/users/schoudry/following{/other_user}","gists_url":"https://api.github.com/users/schoudry/gists{/gist_id}","starred_url":"https://api.github.com/users/schoudry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoudry/subscriptions","organizations_url":"https://api.github.com/users/schoudry/orgs","repos_url":"https://api.github.com/users/schoudry/repos","events_url":"https://api.github.com/users/schoudry/events{/privacy}","received_events_url":"https://api.github.com/users/schoudry/received_events","type":"User","site_admin":false},"body":"passing which multifield's data was loaded might help with listening, something like \r\n\r\n```.trigger( \"touchui-composite-multifield-nodestore-ready\",  $multifield);```","created_at":"2015-12-03T17:02:25Z","updated_at":"2015-12-03T17:02:25Z","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/591#discussion_r46579154","pull_request_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591","_links":{"self":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/comments/46579154"},"html":{"href":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/591#discussion_r46579154"},"pull_request":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591"}}},"pull_request":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591","id":52557648,"html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/591","diff_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/591.diff","patch_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/591.patch","issue_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/591","number":591,"state":"open","locked":false,"title":"Trigger event after Touch UI composite multifields are processed","user":{"login":"mt33","id":597107,"avatar_url":"https://avatars.githubusercontent.com/u/597107?v=3","gravatar_id":"","url":"https://api.github.com/users/mt33","html_url":"https://github.com/mt33","followers_url":"https://api.github.com/users/mt33/followers","following_url":"https://api.github.com/users/mt33/following{/other_user}","gists_url":"https://api.github.com/users/mt33/gists{/gist_id}","starred_url":"https://api.github.com/users/mt33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mt33/subscriptions","organizations_url":"https://api.github.com/users/mt33/orgs","repos_url":"https://api.github.com/users/mt33/repos","events_url":"https://api.github.com/users/mt33/events{/privacy}","received_events_url":"https://api.github.com/users/mt33/received_events","type":"User","site_admin":false},"body":"This allows me to do extra things with fields within the multifield. Specifically, I wanted to disable a textfield if it has a certain value, but unable to do so without this hook.\r\n\r\nNot sure if there's a convention for custom JS events – happy to revise.","created_at":"2015-12-03T16:30:41Z","updated_at":"2015-12-03T17:02:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd719e8123fc575ea07624a71c26fceab9c194f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591/commits","review_comments_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591/comments","review_comment_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/591/comments","statuses_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/statuses/717548ad4cc7c018ea92e4f44aa1284d991f9139","head":{"label":"mt33:touchui-composite-multifield-events","ref":"touchui-composite-multifield-events","sha":"717548ad4cc7c018ea92e4f44aa1284d991f9139","user":{"login":"mt33","id":597107,"avatar_url":"https://avatars.githubusercontent.com/u/597107?v=3","gravatar_id":"","url":"https://api.github.com/users/mt33","html_url":"https://github.com/mt33","followers_url":"https://api.github.com/users/mt33/followers","following_url":"https://api.github.com/users/mt33/following{/other_user}","gists_url":"https://api.github.com/users/mt33/gists{/gist_id}","starred_url":"https://api.github.com/users/mt33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mt33/subscriptions","organizations_url":"https://api.github.com/users/mt33/orgs","repos_url":"https://api.github.com/users/mt33/repos","events_url":"https://api.github.com/users/mt33/events{/privacy}","received_events_url":"https://api.github.com/users/mt33/received_events","type":"User","site_admin":false},"repo":{"id":47341863,"name":"acs-aem-commons","full_name":"mt33/acs-aem-commons","owner":{"login":"mt33","id":597107,"avatar_url":"https://avatars.githubusercontent.com/u/597107?v=3","gravatar_id":"","url":"https://api.github.com/users/mt33","html_url":"https://github.com/mt33","followers_url":"https://api.github.com/users/mt33/followers","following_url":"https://api.github.com/users/mt33/following{/other_user}","gists_url":"https://api.github.com/users/mt33/gists{/gist_id}","starred_url":"https://api.github.com/users/mt33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mt33/subscriptions","organizations_url":"https://api.github.com/users/mt33/orgs","repos_url":"https://api.github.com/users/mt33/repos","events_url":"https://api.github.com/users/mt33/events{/privacy}","received_events_url":"https://api.github.com/users/mt33/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mt33/acs-aem-commons","description":"","fork":true,"url":"https://api.github.com/repos/mt33/acs-aem-commons","forks_url":"https://api.github.com/repos/mt33/acs-aem-commons/forks","keys_url":"https://api.github.com/repos/mt33/acs-aem-commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mt33/acs-aem-commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mt33/acs-aem-commons/teams","hooks_url":"https://api.github.com/repos/mt33/acs-aem-commons/hooks","issue_events_url":"https://api.github.com/repos/mt33/acs-aem-commons/issues/events{/number}","events_url":"https://api.github.com/repos/mt33/acs-aem-commons/events","assignees_url":"https://api.github.com/repos/mt33/acs-aem-commons/assignees{/user}","branches_url":"https://api.github.com/repos/mt33/acs-aem-commons/branches{/branch}","tags_url":"https://api.github.com/repos/mt33/acs-aem-commons/tags","blobs_url":"https://api.github.com/repos/mt33/acs-aem-commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mt33/acs-aem-commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mt33/acs-aem-commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/mt33/acs-aem-commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mt33/acs-aem-commons/statuses/{sha}","languages_url":"https://api.github.com/repos/mt33/acs-aem-commons/languages","stargazers_url":"https://api.github.com/repos/mt33/acs-aem-commons/stargazers","contributors_url":"https://api.github.com/repos/mt33/acs-aem-commons/contributors","subscribers_url":"https://api.github.com/repos/mt33/acs-aem-commons/subscribers","subscription_url":"https://api.github.com/repos/mt33/acs-aem-commons/subscription","commits_url":"https://api.github.com/repos/mt33/acs-aem-commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/mt33/acs-aem-commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/mt33/acs-aem-commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/mt33/acs-aem-commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/mt33/acs-aem-commons/contents/{+path}","compare_url":"https://api.github.com/repos/mt33/acs-aem-commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mt33/acs-aem-commons/merges","archive_url":"https://api.github.com/repos/mt33/acs-aem-commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mt33/acs-aem-commons/downloads","issues_url":"https://api.github.com/repos/mt33/acs-aem-commons/issues{/number}","pulls_url":"https://api.github.com/repos/mt33/acs-aem-commons/pulls{/number}","milestones_url":"https://api.github.com/repos/mt33/acs-aem-commons/milestones{/number}","notifications_url":"https://api.github.com/repos/mt33/acs-aem-commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mt33/acs-aem-commons/labels{/name}","releases_url":"https://api.github.com/repos/mt33/acs-aem-commons/releases{/id}","created_at":"2015-12-03T15:44:08Z","updated_at":"2015-12-03T15:44:11Z","pushed_at":"2015-12-03T15:59:22Z","git_url":"git://github.com/mt33/acs-aem-commons.git","ssh_url":"git@github.com:mt33/acs-aem-commons.git","clone_url":"https://github.com/mt33/acs-aem-commons.git","svn_url":"https://github.com/mt33/acs-aem-commons","homepage":"http://adobe-consulting-services.github.io/acs-aem-commons/","size":5998,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"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":"master"}},"base":{"label":"Adobe-Consulting-Services:master","ref":"master","sha":"01cd1d1fffd023c896e10ab0d93dbb4213668e15","user":{"login":"Adobe-Consulting-Services","id":5420974,"avatar_url":"https://avatars.githubusercontent.com/u/5420974?v=3","gravatar_id":"","url":"https://api.github.com/users/Adobe-Consulting-Services","html_url":"https://github.com/Adobe-Consulting-Services","followers_url":"https://api.github.com/users/Adobe-Consulting-Services/followers","following_url":"https://api.github.com/users/Adobe-Consulting-Services/following{/other_user}","gists_url":"https://api.github.com/users/Adobe-Consulting-Services/gists{/gist_id}","starred_url":"https://api.github.com/users/Adobe-Consulting-Services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adobe-Consulting-Services/subscriptions","organizations_url":"https://api.github.com/users/Adobe-Consulting-Services/orgs","repos_url":"https://api.github.com/users/Adobe-Consulting-Services/repos","events_url":"https://api.github.com/users/Adobe-Consulting-Services/events{/privacy}","received_events_url":"https://api.github.com/users/Adobe-Consulting-Services/received_events","type":"Organization","site_admin":false},"repo":{"id":13325401,"name":"acs-aem-commons","full_name":"Adobe-Consulting-Services/acs-aem-commons","owner":{"login":"Adobe-Consulting-Services","id":5420974,"avatar_url":"https://avatars.githubusercontent.com/u/5420974?v=3","gravatar_id":"","url":"https://api.github.com/users/Adobe-Consulting-Services","html_url":"https://github.com/Adobe-Consulting-Services","followers_url":"https://api.github.com/users/Adobe-Consulting-Services/followers","following_url":"https://api.github.com/users/Adobe-Consulting-Services/following{/other_user}","gists_url":"https://api.github.com/users/Adobe-Consulting-Services/gists{/gist_id}","starred_url":"https://api.github.com/users/Adobe-Consulting-Services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adobe-Consulting-Services/subscriptions","organizations_url":"https://api.github.com/users/Adobe-Consulting-Services/orgs","repos_url":"https://api.github.com/users/Adobe-Consulting-Services/repos","events_url":"https://api.github.com/users/Adobe-Consulting-Services/events{/privacy}","received_events_url":"https://api.github.com/users/Adobe-Consulting-Services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons","description":"","fork":false,"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons","forks_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/forks","keys_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/teams","hooks_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/hooks","issue_events_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/events{/number}","events_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/events","assignees_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/assignees{/user}","branches_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/branches{/branch}","tags_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/tags","blobs_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/statuses/{sha}","languages_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/languages","stargazers_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/stargazers","contributors_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/contributors","subscribers_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/subscribers","subscription_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/subscription","commits_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/contents/{+path}","compare_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/merges","archive_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/downloads","issues_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues{/number}","pulls_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls{/number}","milestones_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/milestones{/number}","notifications_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/labels{/name}","releases_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/releases{/id}","created_at":"2013-10-04T13:50:05Z","updated_at":"2015-11-26T10:21:02Z","pushed_at":"2015-12-03T16:30:42Z","git_url":"git://github.com/Adobe-Consulting-Services/acs-aem-commons.git","ssh_url":"git@github.com:Adobe-Consulting-Services/acs-aem-commons.git","clone_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons.git","svn_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons","homepage":"http://adobe-consulting-services.github.io/acs-aem-commons/","size":16326,"stargazers_count":149,"watchers_count":149,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":147,"mirror_url":null,"open_issues_count":73,"forks":147,"open_issues":73,"watchers":149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591"},"html":{"href":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/591"},"issue":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/591"},"comments":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/591/comments"},"review_comments":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591/comments"},"review_comment":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/591/commits"},"statuses":{"href":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/statuses/717548ad4cc7c018ea92e4f44aa1284d991f9139"}}}}