{"action":"created","comment":{"url":"https://api.github.com/repos/Soullivaneuh/test/pulls/comments/158599594","pull_request_review_id":85439083,"id":158599594,"diff_hunk":"@@ -34,78 +35,104 @@ var Admin = {\n         Admin.setup_sticky_elements(subject);\n         Admin.setup_readmore_elements(subject);\n \n-//        Admin.setup_list_modal(subject);\n+        //        Admin.setup_list_modal(subject);\n+\n     },\n-    setup_list_modal: function(modal) {\n-        Admin.log('[core|setup_list_modal] configure modal on', modal);\n-        // this will force relation modal to open list of entity in a wider modal\n-        // to improve readability\n-        jQuery('div.modal-dialog', modal).css({\n-            width:  '90%', //choose your width\n-            height: '85%',\n-            padding: 0\n+    \"setup_list_modal\" (modal) {\n+\n+        Admin.log(\"[core|setup_list_modal] configure modal on\", modal);\n+\n+        /*\n+         * This will force relation modal to open list of entity in a wider modal\n+         * to improve readability\n+         */\n+        jQuery(\"div.modal-dialog\", modal).css({\n+            \"width\": \"90%\", // Choose your width\n+            \"height\": \"85%\",\n+            \"padding\": 0\n         });\n-        jQuery('div.modal-content', modal).css({\n-            'border-radius':'0',\n-            height:   '100%',\n-            padding: 0\n+        jQuery(\"div.modal-content\", modal).css({\n+            \"border-radius\": \"0\",\n+            \"height\": \"100%\",\n+            \"padding\": 0\n         });\n-        jQuery('.modal-body', modal).css({\n-            width:    'auto',\n-            height:   '90%',\n-            padding: 15,\n-            overflow: 'auto'\n+        jQuery(\".modal-body\", modal).css({\n+            \"width\": \"auto\",\n+            \"height\": \"90%\",\n+            \"padding\": 15,\n+            \"overflow\": \"auto\"\n         });\n \n-        jQuery(modal).trigger('sonata-admin-setup-list-modal');\n+        jQuery(modal).trigger(\"sonata-admin-setup-list-modal\");\n+\n     },\n-    setup_select2: function(subject) {\n+    \"setup_select2\" (subject) {\n+\n         if (window.SONATA_CONFIG && window.SONATA_CONFIG.USE_SELECT2) {\n-            Admin.log('[core|setup_select2] configure Select2 on', subject);\n \n-            jQuery('select:not([data-sonata-select2=\"false\"])', subject).each(function() {\n-                var select            = jQuery(this);\n-                var allowClearEnabled = false;\n-                var popover           = select.data('popover');\n+            Admin.log(\"[core|setup_select2] configure Select2 on\", subject);\n+\n+            jQuery(\"select:not([data-sonata-select2=\\\"false\\\"])\", subject).each(function () {","path":"Admin.js","position":103,"original_position":103,"commit_id":"95a6619e58b2cfcd1cddde40c1b9c15866533d9f","original_commit_id":"95a6619e58b2cfcd1cddde40c1b9c15866533d9f","user":{"login":"FlintCIBot","id":32782110,"avatar_url":"https://avatars0.githubusercontent.com/u/32782110?v=4","gravatar_id":"","url":"https://api.github.com/users/FlintCIBot","html_url":"https://github.com/FlintCIBot","followers_url":"https://api.github.com/users/FlintCIBot/followers","following_url":"https://api.github.com/users/FlintCIBot/following{/other_user}","gists_url":"https://api.github.com/users/FlintCIBot/gists{/gist_id}","starred_url":"https://api.github.com/users/FlintCIBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlintCIBot/subscriptions","organizations_url":"https://api.github.com/users/FlintCIBot/orgs","repos_url":"https://api.github.com/users/FlintCIBot/repos","events_url":"https://api.github.com/users/FlintCIBot/events{/privacy}","received_events_url":"https://api.github.com/users/FlintCIBot/received_events","type":"User","site_admin":false},"body":"- eslint: Line 75 exceeds the maximum line length of 80.\n- eslint: Unexpected unnamed function.","created_at":"2017-12-24T11:04:42Z","updated_at":"2017-12-24T11:04:42Z","html_url":"https://github.com/Soullivaneuh/test/pull/10#discussion_r158599594","pull_request_url":"https://api.github.com/repos/Soullivaneuh/test/pulls/10","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Soullivaneuh/test/pulls/comments/158599594"},"html":{"href":"https://github.com/Soullivaneuh/test/pull/10#discussion_r158599594"},"pull_request":{"href":"https://api.github.com/repos/Soullivaneuh/test/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/Soullivaneuh/test/pulls/10","id":159996019,"html_url":"https://github.com/Soullivaneuh/test/pull/10","diff_url":"https://github.com/Soullivaneuh/test/pull/10.diff","patch_url":"https://github.com/Soullivaneuh/test/pull/10.patch","issue_url":"https://api.github.com/repos/Soullivaneuh/test/issues/10","number":10,"state":"open","locked":false,"title":"Applied fixes from FlintCI","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars0.githubusercontent.com/u/1698357?v=4","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-24T11:04:18Z","updated_at":"2017-12-24T11:04:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50406d72aae542df2cc7d847f998929d7b496aae","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Soullivaneuh/test/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Soullivaneuh/test/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Soullivaneuh/test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Soullivaneuh/test/issues/10/comments","statuses_url":"https://api.github.com/repos/Soullivaneuh/test/statuses/95a6619e58b2cfcd1cddde40c1b9c15866533d9f","head":{"label":"Soullivaneuh:flintci-5","ref":"flintci-5","sha":"95a6619e58b2cfcd1cddde40c1b9c15866533d9f","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars0.githubusercontent.com/u/1698357?v=4","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"repo":{"id":104797664,"name":"test","full_name":"Soullivaneuh/test","owner":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars0.githubusercontent.com/u/1698357?v=4","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Soullivaneuh/test","description":"This is for test only. Don't try to use it !","fork":false,"url":"https://api.github.com/repos/Soullivaneuh/test","forks_url":"https://api.github.com/repos/Soullivaneuh/test/forks","keys_url":"https://api.github.com/repos/Soullivaneuh/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Soullivaneuh/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Soullivaneuh/test/teams","hooks_url":"https://api.github.com/repos/Soullivaneuh/test/hooks","issue_events_url":"https://api.github.com/repos/Soullivaneuh/test/issues/events{/number}","events_url":"https://api.github.com/repos/Soullivaneuh/test/events","assignees_url":"https://api.github.com/repos/Soullivaneuh/test/assignees{/user}","branches_url":"https://api.github.com/repos/Soullivaneuh/test/branches{/branch}","tags_url":"https://api.github.com/repos/Soullivaneuh/test/tags","blobs_url":"https://api.github.com/repos/Soullivaneuh/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Soullivaneuh/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Soullivaneuh/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/Soullivaneuh/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Soullivaneuh/test/statuses/{sha}","languages_url":"https://api.github.com/repos/Soullivaneuh/test/languages","stargazers_url":"https://api.github.com/repos/Soullivaneuh/test/stargazers","contributors_url":"https://api.github.com/repos/Soullivaneuh/test/contributors","subscribers_url":"https://api.github.com/repos/Soullivaneuh/test/subscribers","subscription_url":"https://api.github.com/repos/Soullivaneuh/test/subscription","commits_url":"https://api.github.com/repos/Soullivaneuh/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/Soullivaneuh/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/Soullivaneuh/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/Soullivaneuh/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/Soullivaneuh/test/contents/{+path}","compare_url":"https://api.github.com/repos/Soullivaneuh/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Soullivaneuh/test/merges","archive_url":"https://api.github.com/repos/Soullivaneuh/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Soullivaneuh/test/downloads","issues_url":"https://api.github.com/repos/Soullivaneuh/test/issues{/number}","pulls_url":"https://api.github.com/repos/Soullivaneuh/test/pulls{/number}","milestones_url":"https://api.github.com/repos/Soullivaneuh/test/milestones{/number}","notifications_url":"https://api.github.com/repos/Soullivaneuh/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Soullivaneuh/test/labels{/name}","releases_url":"https://api.github.com/repos/Soullivaneuh/test/releases{/id}","deployments_url":"https://api.github.com/repos/Soullivaneuh/test/deployments","created_at":"2017-09-25T20:16:04Z","updated_at":"2017-10-10T18:55:20Z","pushed_at":"2017-12-24T11:04:19Z","git_url":"git://github.com/Soullivaneuh/test.git","ssh_url":"git@github.com:Soullivaneuh/test.git","clone_url":"https://github.com/Soullivaneuh/test.git","svn_url":"https://github.com/Soullivaneuh/test","homepage":null,"size":32,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Soullivaneuh:pr-test","ref":"pr-test","sha":"a16a5597ce73f492133e0086056495e8876aca52","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars0.githubusercontent.com/u/1698357?v=4","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"repo":{"id":104797664,"name":"test","full_name":"Soullivaneuh/test","owner":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars0.githubusercontent.com/u/1698357?v=4","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Soullivaneuh/test","description":"This is for test only. Don't try to use it !","fork":false,"url":"https://api.github.com/repos/Soullivaneuh/test","forks_url":"https://api.github.com/repos/Soullivaneuh/test/forks","keys_url":"https://api.github.com/repos/Soullivaneuh/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Soullivaneuh/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Soullivaneuh/test/teams","hooks_url":"https://api.github.com/repos/Soullivaneuh/test/hooks","issue_events_url":"https://api.github.com/repos/Soullivaneuh/test/issues/events{/number}","events_url":"https://api.github.com/repos/Soullivaneuh/test/events","assignees_url":"https://api.github.com/repos/Soullivaneuh/test/assignees{/user}","branches_url":"https://api.github.com/repos/Soullivaneuh/test/branches{/branch}","tags_url":"https://api.github.com/repos/Soullivaneuh/test/tags","blobs_url":"https://api.github.com/repos/Soullivaneuh/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Soullivaneuh/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Soullivaneuh/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/Soullivaneuh/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Soullivaneuh/test/statuses/{sha}","languages_url":"https://api.github.com/repos/Soullivaneuh/test/languages","stargazers_url":"https://api.github.com/repos/Soullivaneuh/test/stargazers","contributors_url":"https://api.github.com/repos/Soullivaneuh/test/contributors","subscribers_url":"https://api.github.com/repos/Soullivaneuh/test/subscribers","subscription_url":"https://api.github.com/repos/Soullivaneuh/test/subscription","commits_url":"https://api.github.com/repos/Soullivaneuh/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/Soullivaneuh/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/Soullivaneuh/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/Soullivaneuh/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/Soullivaneuh/test/contents/{+path}","compare_url":"https://api.github.com/repos/Soullivaneuh/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Soullivaneuh/test/merges","archive_url":"https://api.github.com/repos/Soullivaneuh/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Soullivaneuh/test/downloads","issues_url":"https://api.github.com/repos/Soullivaneuh/test/issues{/number}","pulls_url":"https://api.github.com/repos/Soullivaneuh/test/pulls{/number}","milestones_url":"https://api.github.com/repos/Soullivaneuh/test/milestones{/number}","notifications_url":"https://api.github.com/repos/Soullivaneuh/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Soullivaneuh/test/labels{/name}","releases_url":"https://api.github.com/repos/Soullivaneuh/test/releases{/id}","deployments_url":"https://api.github.com/repos/Soullivaneuh/test/deployments","created_at":"2017-09-25T20:16:04Z","updated_at":"2017-10-10T18:55:20Z","pushed_at":"2017-12-24T11:04:19Z","git_url":"git://github.com/Soullivaneuh/test.git","ssh_url":"git@github.com:Soullivaneuh/test.git","clone_url":"https://github.com/Soullivaneuh/test.git","svn_url":"https://github.com/Soullivaneuh/test","homepage":null,"size":32,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Soullivaneuh/test/pulls/10"},"html":{"href":"https://github.com/Soullivaneuh/test/pull/10"},"issue":{"href":"https://api.github.com/repos/Soullivaneuh/test/issues/10"},"comments":{"href":"https://api.github.com/repos/Soullivaneuh/test/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Soullivaneuh/test/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Soullivaneuh/test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Soullivaneuh/test/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Soullivaneuh/test/statuses/95a6619e58b2cfcd1cddde40c1b9c15866533d9f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"FlintCIBot"}}