{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments/37161549","id":37161549,"diff_hunk":"@@ -50,13 +51,35 @@ YUI.add('ez-contenteditview', function (Y) {\n             this.after('activeChange', function (e) {\n                 if ( e.newVal ) {\n                     this._setFocus();\n+                    this._removeInfos();\n                 }\n             });\n \n+\n+\n             this.on(['*:saveAction', '*:publishAction'], this._handleSavePublish);\n         },\n \n         /**\n+         * Hide infos (description and technical infos) when clicking outside the header\n+         *\n+         * @method _removeInfos\n+         * @protected\n+         * @param {Object} e event facade\n+         */\n+        _removeInfos: function (e) {","path":"Resources/public/js/views/ez-contenteditview.js","position":39,"original_position":39,"commit_id":"5f8d23362e6630182a5dbf6773c0d478287200c7","original_commit_id":"5f8d23362e6630182a5dbf6773c0d478287200c7","user":{"login":"dpobel","id":305563,"avatar_url":"https://avatars.githubusercontent.com/u/305563?v=3","gravatar_id":"","url":"https://api.github.com/users/dpobel","html_url":"https://github.com/dpobel","followers_url":"https://api.github.com/users/dpobel/followers","following_url":"https://api.github.com/users/dpobel/following{/other_user}","gists_url":"https://api.github.com/users/dpobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dpobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpobel/subscriptions","organizations_url":"https://api.github.com/users/dpobel/orgs","repos_url":"https://api.github.com/users/dpobel/repos","events_url":"https://api.github.com/users/dpobel/events{/privacy}","received_events_url":"https://api.github.com/users/dpobel/received_events","type":"User","site_admin":false},"body":"this is a very bad name (and description in the comment). This method does not remove anything, it sets an event handler on the `clickoutside` event that will hide the infos. So please rename it to something like `_addClickoutsideInfoHandler` and use `_hideDetails` instead of reimplementing it in an anonymous function.","created_at":"2015-08-17T06:38:46Z","updated_at":"2015-08-17T06:38:46Z","html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/292#discussion_r37161549","pull_request_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments/37161549"},"html":{"href":"https://github.com/ezsystems/PlatformUIBundle/pull/292#discussion_r37161549"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292","id":41022952,"html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/292","diff_url":"https://github.com/ezsystems/PlatformUIBundle/pull/292.diff","patch_url":"https://github.com/ezsystems/PlatformUIBundle/pull/292.patch","issue_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/292","number":292,"state":"open","locked":false,"title":"EZP-24626 As an editor I want to see content type description when editing content","user":{"login":"StephaneDiot","id":5558766,"avatar_url":"https://avatars.githubusercontent.com/u/5558766?v=3","gravatar_id":"","url":"https://api.github.com/users/StephaneDiot","html_url":"https://github.com/StephaneDiot","followers_url":"https://api.github.com/users/StephaneDiot/followers","following_url":"https://api.github.com/users/StephaneDiot/following{/other_user}","gists_url":"https://api.github.com/users/StephaneDiot/gists{/gist_id}","starred_url":"https://api.github.com/users/StephaneDiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephaneDiot/subscriptions","organizations_url":"https://api.github.com/users/StephaneDiot/orgs","repos_url":"https://api.github.com/users/StephaneDiot/repos","events_url":"https://api.github.com/users/StephaneDiot/events{/privacy}","received_events_url":"https://api.github.com/users/StephaneDiot/received_events","type":"User","site_admin":false},"body":"https://jira.ez.no/browse/EZP-24626\r\n\r\n## Description\r\n\r\nA description of the content type should be shown when passing cursor over the header while editing or creating a content. On 'touch friendly' devices the description should be shown when tapping on header, and should unshow when tapping outside (the same rule has also been added for the technical infos).\r\n\r\n## Screencast\r\n\r\nhttp://youtu.be/Y97RexOHWZo\r\n(first part is 'touch friendly' emulated, second is like in a normal browser)","created_at":"2015-07-28T15:13:03Z","updated_at":"2015-08-17T06:38:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5f76e20dbbf74c46a5c6079e0ae225c40fdbedb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292/commits","review_comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292/comments","review_comment_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/292/comments","statuses_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/5f8d23362e6630182a5dbf6773c0d478287200c7","head":{"label":"StephaneDiot:EZP-24626_Content_type_description_when_editing","ref":"EZP-24626_Content_type_description_when_editing","sha":"5f8d23362e6630182a5dbf6773c0d478287200c7","user":{"login":"StephaneDiot","id":5558766,"avatar_url":"https://avatars.githubusercontent.com/u/5558766?v=3","gravatar_id":"","url":"https://api.github.com/users/StephaneDiot","html_url":"https://github.com/StephaneDiot","followers_url":"https://api.github.com/users/StephaneDiot/followers","following_url":"https://api.github.com/users/StephaneDiot/following{/other_user}","gists_url":"https://api.github.com/users/StephaneDiot/gists{/gist_id}","starred_url":"https://api.github.com/users/StephaneDiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephaneDiot/subscriptions","organizations_url":"https://api.github.com/users/StephaneDiot/orgs","repos_url":"https://api.github.com/users/StephaneDiot/repos","events_url":"https://api.github.com/users/StephaneDiot/events{/privacy}","received_events_url":"https://api.github.com/users/StephaneDiot/received_events","type":"User","site_admin":false},"repo":{"id":25251296,"name":"PlatformUIBundle-1","full_name":"StephaneDiot/PlatformUIBundle-1","owner":{"login":"StephaneDiot","id":5558766,"avatar_url":"https://avatars.githubusercontent.com/u/5558766?v=3","gravatar_id":"","url":"https://api.github.com/users/StephaneDiot","html_url":"https://github.com/StephaneDiot","followers_url":"https://api.github.com/users/StephaneDiot/followers","following_url":"https://api.github.com/users/StephaneDiot/following{/other_user}","gists_url":"https://api.github.com/users/StephaneDiot/gists{/gist_id}","starred_url":"https://api.github.com/users/StephaneDiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephaneDiot/subscriptions","organizations_url":"https://api.github.com/users/StephaneDiot/orgs","repos_url":"https://api.github.com/users/StephaneDiot/repos","events_url":"https://api.github.com/users/StephaneDiot/events{/privacy}","received_events_url":"https://api.github.com/users/StephaneDiot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StephaneDiot/PlatformUIBundle-1","description":"","fork":true,"url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1","forks_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/forks","keys_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/teams","hooks_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/hooks","issue_events_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/issues/events{/number}","events_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/events","assignees_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/assignees{/user}","branches_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/branches{/branch}","tags_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/tags","blobs_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/statuses/{sha}","languages_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/languages","stargazers_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/stargazers","contributors_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/contributors","subscribers_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/subscribers","subscription_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/subscription","commits_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/contents/{+path}","compare_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/merges","archive_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/downloads","issues_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/issues{/number}","pulls_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/pulls{/number}","milestones_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/milestones{/number}","notifications_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/labels{/name}","releases_url":"https://api.github.com/repos/StephaneDiot/PlatformUIBundle-1/releases{/id}","created_at":"2014-10-15T11:15:19Z","updated_at":"2015-01-26T10:54:24Z","pushed_at":"2015-08-03T08:19:08Z","git_url":"git://github.com/StephaneDiot/PlatformUIBundle-1.git","ssh_url":"git@github.com:StephaneDiot/PlatformUIBundle-1.git","clone_url":"https://github.com/StephaneDiot/PlatformUIBundle-1.git","svn_url":"https://github.com/StephaneDiot/PlatformUIBundle-1","homepage":null,"size":3707,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ezsystems:master","ref":"master","sha":"7d9ae87a70899c4a34ceb1c446ec4bd6ad84921b","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":11221607,"name":"PlatformUIBundle","full_name":"ezsystems/PlatformUIBundle","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/PlatformUIBundle","description":"","fork":false,"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle","forks_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/forks","keys_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/teams","hooks_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/events","assignees_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/tags","blobs_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/languages","stargazers_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/subscription","commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/merges","archive_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/downloads","issues_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/releases{/id}","created_at":"2013-07-06T17:21:40Z","updated_at":"2015-07-31T07:37:47Z","pushed_at":"2015-08-14T13:30:33Z","git_url":"git://github.com/ezsystems/PlatformUIBundle.git","ssh_url":"git@github.com:ezsystems/PlatformUIBundle.git","clone_url":"https://github.com/ezsystems/PlatformUIBundle.git","svn_url":"https://github.com/ezsystems/PlatformUIBundle","homepage":null,"size":8013,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":17,"forks":18,"open_issues":17,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292"},"html":{"href":"https://github.com/ezsystems/PlatformUIBundle/pull/292"},"issue":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/292"},"comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/292/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/292/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/PlatformUIBundle/statuses/5f8d23362e6630182a5dbf6773c0d478287200c7"}}}}