{"action":"created","comment":{"url":"https://api.github.com/repos/Elgg/Elgg/pulls/comments/85962690","pull_request_review_id":6645830,"id":85962690,"diff_hunk":"@@ -107,7 +105,29 @@ define(function (require) {\n \t\t\t\t\t\topts.href = elgg.getSelectorFromUrlFragment(opts.href);\n \t\t\t\t\t}\n \n-\t\t\t\t\tlightbox.open(opts);\n+\t\t\t\t\tif (opts.photo || opts.inline || opts.iframe || opts.html) {\n+\t\t\t\t\t\tlightbox.open(opts);","path":"views/default/elgg/lightbox.js","position":null,"original_position":15,"commit_id":"fb5eb0323f0c5dd1376a97d9df6fe739300fa208","original_commit_id":"b755ec171021c3df31f2793735ef6ed0ee295148","user":{"login":"jdalsem","id":861833,"avatar_url":"https://avatars.githubusercontent.com/u/861833?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalsem","html_url":"https://github.com/jdalsem","followers_url":"https://api.github.com/users/jdalsem/followers","following_url":"https://api.github.com/users/jdalsem/following{/other_user}","gists_url":"https://api.github.com/users/jdalsem/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalsem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalsem/subscriptions","organizations_url":"https://api.github.com/users/jdalsem/orgs","repos_url":"https://api.github.com/users/jdalsem/repos","events_url":"https://api.github.com/users/jdalsem/events{/privacy}","received_events_url":"https://api.github.com/users/jdalsem/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-11-01T16:15:36Z","updated_at":"2016-11-01T16:15:36Z","html_url":"https://github.com/Elgg/Elgg/pull/10545#discussion_r85962690","pull_request_url":"https://api.github.com/repos/Elgg/Elgg/pulls/10545","_links":{"self":{"href":"https://api.github.com/repos/Elgg/Elgg/pulls/comments/85962690"},"html":{"href":"https://github.com/Elgg/Elgg/pull/10545#discussion_r85962690"},"pull_request":{"href":"https://api.github.com/repos/Elgg/Elgg/pulls/10545"}}},"pull_request":{"url":"https://api.github.com/repos/Elgg/Elgg/pulls/10545","id":91776005,"html_url":"https://github.com/Elgg/Elgg/pull/10545","diff_url":"https://github.com/Elgg/Elgg/pull/10545.diff","patch_url":"https://github.com/Elgg/Elgg/pull/10545.patch","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/10545","number":10545,"state":"open","locked":false,"title":"feat(js): lightbox href calls no run through elgg/Ajax","user":{"login":"jdalsem","id":861833,"avatar_url":"https://avatars.githubusercontent.com/u/861833?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalsem","html_url":"https://github.com/jdalsem","followers_url":"https://api.github.com/users/jdalsem/followers","following_url":"https://api.github.com/users/jdalsem/following{/other_user}","gists_url":"https://api.github.com/users/jdalsem/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalsem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalsem/subscriptions","organizations_url":"https://api.github.com/users/jdalsem/orgs","repos_url":"https://api.github.com/users/jdalsem/repos","events_url":"https://api.github.com/users/jdalsem/events{/privacy}","received_events_url":"https://api.github.com/users/jdalsem/received_events","type":"User","site_admin":false},"body":"fixes #10078","created_at":"2016-11-01T12:35:33Z","updated_at":"2016-11-01T16:15:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e124f6de9d95a95db861831bf4079946ecaef10","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Elgg/Elgg/pulls/10545/commits","review_comments_url":"https://api.github.com/repos/Elgg/Elgg/pulls/10545/comments","review_comment_url":"https://api.github.com/repos/Elgg/Elgg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/10545/comments","statuses_url":"https://api.github.com/repos/Elgg/Elgg/statuses/fb5eb0323f0c5dd1376a97d9df6fe739300fa208","head":{"label":"jdalsem:teach-lightbox-ajax","ref":"teach-lightbox-ajax","sha":"fb5eb0323f0c5dd1376a97d9df6fe739300fa208","user":{"login":"jdalsem","id":861833,"avatar_url":"https://avatars.githubusercontent.com/u/861833?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalsem","html_url":"https://github.com/jdalsem","followers_url":"https://api.github.com/users/jdalsem/followers","following_url":"https://api.github.com/users/jdalsem/following{/other_user}","gists_url":"https://api.github.com/users/jdalsem/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalsem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalsem/subscriptions","organizations_url":"https://api.github.com/users/jdalsem/orgs","repos_url":"https://api.github.com/users/jdalsem/repos","events_url":"https://api.github.com/users/jdalsem/events{/privacy}","received_events_url":"https://api.github.com/users/jdalsem/received_events","type":"User","site_admin":false},"repo":{"id":3067967,"name":"Elgg","full_name":"jdalsem/Elgg","owner":{"login":"jdalsem","id":861833,"avatar_url":"https://avatars.githubusercontent.com/u/861833?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalsem","html_url":"https://github.com/jdalsem","followers_url":"https://api.github.com/users/jdalsem/followers","following_url":"https://api.github.com/users/jdalsem/following{/other_user}","gists_url":"https://api.github.com/users/jdalsem/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalsem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalsem/subscriptions","organizations_url":"https://api.github.com/users/jdalsem/orgs","repos_url":"https://api.github.com/users/jdalsem/repos","events_url":"https://api.github.com/users/jdalsem/events{/privacy}","received_events_url":"https://api.github.com/users/jdalsem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdalsem/Elgg","description":"A social networking engine","fork":true,"url":"https://api.github.com/repos/jdalsem/Elgg","forks_url":"https://api.github.com/repos/jdalsem/Elgg/forks","keys_url":"https://api.github.com/repos/jdalsem/Elgg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdalsem/Elgg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdalsem/Elgg/teams","hooks_url":"https://api.github.com/repos/jdalsem/Elgg/hooks","issue_events_url":"https://api.github.com/repos/jdalsem/Elgg/issues/events{/number}","events_url":"https://api.github.com/repos/jdalsem/Elgg/events","assignees_url":"https://api.github.com/repos/jdalsem/Elgg/assignees{/user}","branches_url":"https://api.github.com/repos/jdalsem/Elgg/branches{/branch}","tags_url":"https://api.github.com/repos/jdalsem/Elgg/tags","blobs_url":"https://api.github.com/repos/jdalsem/Elgg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdalsem/Elgg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdalsem/Elgg/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdalsem/Elgg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdalsem/Elgg/statuses/{sha}","languages_url":"https://api.github.com/repos/jdalsem/Elgg/languages","stargazers_url":"https://api.github.com/repos/jdalsem/Elgg/stargazers","contributors_url":"https://api.github.com/repos/jdalsem/Elgg/contributors","subscribers_url":"https://api.github.com/repos/jdalsem/Elgg/subscribers","subscription_url":"https://api.github.com/repos/jdalsem/Elgg/subscription","commits_url":"https://api.github.com/repos/jdalsem/Elgg/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdalsem/Elgg/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdalsem/Elgg/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdalsem/Elgg/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdalsem/Elgg/contents/{+path}","compare_url":"https://api.github.com/repos/jdalsem/Elgg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdalsem/Elgg/merges","archive_url":"https://api.github.com/repos/jdalsem/Elgg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdalsem/Elgg/downloads","issues_url":"https://api.github.com/repos/jdalsem/Elgg/issues{/number}","pulls_url":"https://api.github.com/repos/jdalsem/Elgg/pulls{/number}","milestones_url":"https://api.github.com/repos/jdalsem/Elgg/milestones{/number}","notifications_url":"https://api.github.com/repos/jdalsem/Elgg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdalsem/Elgg/labels{/name}","releases_url":"https://api.github.com/repos/jdalsem/Elgg/releases{/id}","deployments_url":"https://api.github.com/repos/jdalsem/Elgg/deployments","created_at":"2011-12-29T09:43:57Z","updated_at":"2014-06-24T10:31:40Z","pushed_at":"2016-11-01T16:15:30Z","git_url":"git://github.com/jdalsem/Elgg.git","ssh_url":"git@github.com:jdalsem/Elgg.git","clone_url":"https://github.com/jdalsem/Elgg.git","svn_url":"https://github.com/jdalsem/Elgg","homepage":"http://elgg.org","size":49178,"stargazers_count":1,"watchers_count":1,"language":"PHP","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":1,"default_branch":"master"}},"base":{"label":"Elgg:master","ref":"master","sha":"efd7cf87dc6039a1aa26cb5417961aec780500f4","user":{"login":"Elgg","id":79167,"avatar_url":"https://avatars.githubusercontent.com/u/79167?v=3","gravatar_id":"","url":"https://api.github.com/users/Elgg","html_url":"https://github.com/Elgg","followers_url":"https://api.github.com/users/Elgg/followers","following_url":"https://api.github.com/users/Elgg/following{/other_user}","gists_url":"https://api.github.com/users/Elgg/gists{/gist_id}","starred_url":"https://api.github.com/users/Elgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elgg/subscriptions","organizations_url":"https://api.github.com/users/Elgg/orgs","repos_url":"https://api.github.com/users/Elgg/repos","events_url":"https://api.github.com/users/Elgg/events{/privacy}","received_events_url":"https://api.github.com/users/Elgg/received_events","type":"Organization","site_admin":false},"repo":{"id":299271,"name":"Elgg","full_name":"Elgg/Elgg","owner":{"login":"Elgg","id":79167,"avatar_url":"https://avatars.githubusercontent.com/u/79167?v=3","gravatar_id":"","url":"https://api.github.com/users/Elgg","html_url":"https://github.com/Elgg","followers_url":"https://api.github.com/users/Elgg/followers","following_url":"https://api.github.com/users/Elgg/following{/other_user}","gists_url":"https://api.github.com/users/Elgg/gists{/gist_id}","starred_url":"https://api.github.com/users/Elgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elgg/subscriptions","organizations_url":"https://api.github.com/users/Elgg/orgs","repos_url":"https://api.github.com/users/Elgg/repos","events_url":"https://api.github.com/users/Elgg/events{/privacy}","received_events_url":"https://api.github.com/users/Elgg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Elgg/Elgg","description":"A social networking engine in PHP/MySQL","fork":false,"url":"https://api.github.com/repos/Elgg/Elgg","forks_url":"https://api.github.com/repos/Elgg/Elgg/forks","keys_url":"https://api.github.com/repos/Elgg/Elgg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Elgg/Elgg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Elgg/Elgg/teams","hooks_url":"https://api.github.com/repos/Elgg/Elgg/hooks","issue_events_url":"https://api.github.com/repos/Elgg/Elgg/issues/events{/number}","events_url":"https://api.github.com/repos/Elgg/Elgg/events","assignees_url":"https://api.github.com/repos/Elgg/Elgg/assignees{/user}","branches_url":"https://api.github.com/repos/Elgg/Elgg/branches{/branch}","tags_url":"https://api.github.com/repos/Elgg/Elgg/tags","blobs_url":"https://api.github.com/repos/Elgg/Elgg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Elgg/Elgg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Elgg/Elgg/git/refs{/sha}","trees_url":"https://api.github.com/repos/Elgg/Elgg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Elgg/Elgg/statuses/{sha}","languages_url":"https://api.github.com/repos/Elgg/Elgg/languages","stargazers_url":"https://api.github.com/repos/Elgg/Elgg/stargazers","contributors_url":"https://api.github.com/repos/Elgg/Elgg/contributors","subscribers_url":"https://api.github.com/repos/Elgg/Elgg/subscribers","subscription_url":"https://api.github.com/repos/Elgg/Elgg/subscription","commits_url":"https://api.github.com/repos/Elgg/Elgg/commits{/sha}","git_commits_url":"https://api.github.com/repos/Elgg/Elgg/git/commits{/sha}","comments_url":"https://api.github.com/repos/Elgg/Elgg/comments{/number}","issue_comment_url":"https://api.github.com/repos/Elgg/Elgg/issues/comments{/number}","contents_url":"https://api.github.com/repos/Elgg/Elgg/contents/{+path}","compare_url":"https://api.github.com/repos/Elgg/Elgg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Elgg/Elgg/merges","archive_url":"https://api.github.com/repos/Elgg/Elgg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Elgg/Elgg/downloads","issues_url":"https://api.github.com/repos/Elgg/Elgg/issues{/number}","pulls_url":"https://api.github.com/repos/Elgg/Elgg/pulls{/number}","milestones_url":"https://api.github.com/repos/Elgg/Elgg/milestones{/number}","notifications_url":"https://api.github.com/repos/Elgg/Elgg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Elgg/Elgg/labels{/name}","releases_url":"https://api.github.com/repos/Elgg/Elgg/releases{/id}","deployments_url":"https://api.github.com/repos/Elgg/Elgg/deployments","created_at":"2009-09-06T17:10:11Z","updated_at":"2016-10-31T15:38:51Z","pushed_at":"2016-11-01T16:15:31Z","git_url":"git://github.com/Elgg/Elgg.git","ssh_url":"git@github.com:Elgg/Elgg.git","clone_url":"https://github.com/Elgg/Elgg.git","svn_url":"https://github.com/Elgg/Elgg","homepage":"http://elgg.org","size":89505,"stargazers_count":935,"watchers_count":935,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":536,"mirror_url":null,"open_issues_count":847,"forks":536,"open_issues":847,"watchers":935,"default_branch":"2.x"}},"_links":{"self":{"href":"https://api.github.com/repos/Elgg/Elgg/pulls/10545"},"html":{"href":"https://github.com/Elgg/Elgg/pull/10545"},"issue":{"href":"https://api.github.com/repos/Elgg/Elgg/issues/10545"},"comments":{"href":"https://api.github.com/repos/Elgg/Elgg/issues/10545/comments"},"review_comments":{"href":"https://api.github.com/repos/Elgg/Elgg/pulls/10545/comments"},"review_comment":{"href":"https://api.github.com/repos/Elgg/Elgg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Elgg/Elgg/pulls/10545/commits"},"statuses":{"href":"https://api.github.com/repos/Elgg/Elgg/statuses/fb5eb0323f0c5dd1376a97d9df6fe739300fa208"}}}}
{"actor":{"display_login":"jdalsem"}}