{"action":"created","comment":{"url":"https://api.github.com/repos/omegaup/omegaup/pulls/comments/139880931","pull_request_review_id":63873188,"id":139880931,"diff_hunk":"@@ -167,7 +167,10 @@ let UI = {\n   },\n \n   problemTypeahead: function(elem, cb) {\n-    cb = cb || function(event, val) { $(event.target).val(val.alias); };\n+    cb = cb || function(event, val) {\n+      $(event.target).val(val.alias);\n+      $('#problem-search-button').trigger('click');","path":"frontend/www/js/omegaup/ui.js","position":7,"original_position":7,"commit_id":"f16444b15728cec6b4ec8a5c3a0ddac00f896572","original_commit_id":"f16444b15728cec6b4ec8a5c3a0ddac00f896572","user":{"login":"lhchavez","id":168028,"avatar_url":"https://avatars0.githubusercontent.com/u/168028?v=4","gravatar_id":"","url":"https://api.github.com/users/lhchavez","html_url":"https://github.com/lhchavez","followers_url":"https://api.github.com/users/lhchavez/followers","following_url":"https://api.github.com/users/lhchavez/following{/other_user}","gists_url":"https://api.github.com/users/lhchavez/gists{/gist_id}","starred_url":"https://api.github.com/users/lhchavez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhchavez/subscriptions","organizations_url":"https://api.github.com/users/lhchavez/orgs","repos_url":"https://api.github.com/users/lhchavez/repos","events_url":"https://api.github.com/users/lhchavez/events{/privacy}","received_events_url":"https://api.github.com/users/lhchavez/received_events","type":"User","site_admin":false},"body":"estoy bastante seguro que este `id` no es usa en todas las formas donde usamos [problemTypeahead](https://github.com/omegaup/omegaup/search?utf8=%E2%9C%93&q=problemTypeahead&type=).\r\n\r\nesto lo quieres solo para cerrar el dropdown? en ese caso mejor utiliza\r\n\r\n    elem.typeahead('close');\r\n\r\nhttps://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#jquerytypeaheadclose","created_at":"2017-09-20T05:58:47Z","updated_at":"2017-09-20T06:00:47Z","html_url":"https://github.com/omegaup/omegaup/pull/1439#discussion_r139880931","pull_request_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1439","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/comments/139880931"},"html":{"href":"https://github.com/omegaup/omegaup/pull/1439#discussion_r139880931"},"pull_request":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1439"}}},"pull_request":{"url":"https://api.github.com/repos/omegaup/omegaup/pulls/1439","id":141997299,"html_url":"https://github.com/omegaup/omegaup/pull/1439","diff_url":"https://github.com/omegaup/omegaup/pull/1439.diff","patch_url":"https://github.com/omegaup/omegaup/pull/1439.patch","issue_url":"https://api.github.com/repos/omegaup/omegaup/issues/1439","number":1439,"state":"open","locked":false,"title":"Agregando el autocomplete en la búsqueda por palabra clave de problemas","user":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"body":"Se agrega el autocomplete en la búsqueda de problemas por palabra clave.\r\n\r\nFixes #1051 ","created_at":"2017-09-20T02:26:55Z","updated_at":"2017-09-20T06:00:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76e38f7743a075bfa225177fd014f41cae50f984","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1439/commits","review_comments_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1439/comments","review_comment_url":"https://api.github.com/repos/omegaup/omegaup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omegaup/omegaup/issues/1439/comments","statuses_url":"https://api.github.com/repos/omegaup/omegaup/statuses/f16444b15728cec6b4ec8a5c3a0ddac00f896572","head":{"label":"pabo99:add-autocomplete","ref":"add-autocomplete","sha":"f16444b15728cec6b4ec8a5c3a0ddac00f896572","user":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"repo":{"id":101674377,"name":"omegaup","full_name":"pabo99/omegaup","owner":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pabo99/omegaup","description":"omegaUp automatic programming contest evaluator & arena","fork":true,"url":"https://api.github.com/repos/pabo99/omegaup","forks_url":"https://api.github.com/repos/pabo99/omegaup/forks","keys_url":"https://api.github.com/repos/pabo99/omegaup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pabo99/omegaup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pabo99/omegaup/teams","hooks_url":"https://api.github.com/repos/pabo99/omegaup/hooks","issue_events_url":"https://api.github.com/repos/pabo99/omegaup/issues/events{/number}","events_url":"https://api.github.com/repos/pabo99/omegaup/events","assignees_url":"https://api.github.com/repos/pabo99/omegaup/assignees{/user}","branches_url":"https://api.github.com/repos/pabo99/omegaup/branches{/branch}","tags_url":"https://api.github.com/repos/pabo99/omegaup/tags","blobs_url":"https://api.github.com/repos/pabo99/omegaup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pabo99/omegaup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pabo99/omegaup/git/refs{/sha}","trees_url":"https://api.github.com/repos/pabo99/omegaup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pabo99/omegaup/statuses/{sha}","languages_url":"https://api.github.com/repos/pabo99/omegaup/languages","stargazers_url":"https://api.github.com/repos/pabo99/omegaup/stargazers","contributors_url":"https://api.github.com/repos/pabo99/omegaup/contributors","subscribers_url":"https://api.github.com/repos/pabo99/omegaup/subscribers","subscription_url":"https://api.github.com/repos/pabo99/omegaup/subscription","commits_url":"https://api.github.com/repos/pabo99/omegaup/commits{/sha}","git_commits_url":"https://api.github.com/repos/pabo99/omegaup/git/commits{/sha}","comments_url":"https://api.github.com/repos/pabo99/omegaup/comments{/number}","issue_comment_url":"https://api.github.com/repos/pabo99/omegaup/issues/comments{/number}","contents_url":"https://api.github.com/repos/pabo99/omegaup/contents/{+path}","compare_url":"https://api.github.com/repos/pabo99/omegaup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pabo99/omegaup/merges","archive_url":"https://api.github.com/repos/pabo99/omegaup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pabo99/omegaup/downloads","issues_url":"https://api.github.com/repos/pabo99/omegaup/issues{/number}","pulls_url":"https://api.github.com/repos/pabo99/omegaup/pulls{/number}","milestones_url":"https://api.github.com/repos/pabo99/omegaup/milestones{/number}","notifications_url":"https://api.github.com/repos/pabo99/omegaup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pabo99/omegaup/labels{/name}","releases_url":"https://api.github.com/repos/pabo99/omegaup/releases{/id}","deployments_url":"https://api.github.com/repos/pabo99/omegaup/deployments","created_at":"2017-08-28T18:28:19Z","updated_at":"2017-08-28T18:28:22Z","pushed_at":"2017-09-20T02:17:10Z","git_url":"git://github.com/pabo99/omegaup.git","ssh_url":"git@github.com:pabo99/omegaup.git","clone_url":"https://github.com/pabo99/omegaup.git","svn_url":"https://github.com/pabo99/omegaup","homepage":"https://omegaup.com","size":222523,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"omegaup:master","ref":"master","sha":"f63429769cb98a792faf592161f8894eef1abc01","user":{"login":"omegaup","id":558429,"avatar_url":"https://avatars0.githubusercontent.com/u/558429?v=4","gravatar_id":"","url":"https://api.github.com/users/omegaup","html_url":"https://github.com/omegaup","followers_url":"https://api.github.com/users/omegaup/followers","following_url":"https://api.github.com/users/omegaup/following{/other_user}","gists_url":"https://api.github.com/users/omegaup/gists{/gist_id}","starred_url":"https://api.github.com/users/omegaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omegaup/subscriptions","organizations_url":"https://api.github.com/users/omegaup/orgs","repos_url":"https://api.github.com/users/omegaup/repos","events_url":"https://api.github.com/users/omegaup/events{/privacy}","received_events_url":"https://api.github.com/users/omegaup/received_events","type":"Organization","site_admin":false},"repo":{"id":1243685,"name":"omegaup","full_name":"omegaup/omegaup","owner":{"login":"omegaup","id":558429,"avatar_url":"https://avatars0.githubusercontent.com/u/558429?v=4","gravatar_id":"","url":"https://api.github.com/users/omegaup","html_url":"https://github.com/omegaup","followers_url":"https://api.github.com/users/omegaup/followers","following_url":"https://api.github.com/users/omegaup/following{/other_user}","gists_url":"https://api.github.com/users/omegaup/gists{/gist_id}","starred_url":"https://api.github.com/users/omegaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omegaup/subscriptions","organizations_url":"https://api.github.com/users/omegaup/orgs","repos_url":"https://api.github.com/users/omegaup/repos","events_url":"https://api.github.com/users/omegaup/events{/privacy}","received_events_url":"https://api.github.com/users/omegaup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omegaup/omegaup","description":"omegaUp automatic programming contest evaluator & arena","fork":false,"url":"https://api.github.com/repos/omegaup/omegaup","forks_url":"https://api.github.com/repos/omegaup/omegaup/forks","keys_url":"https://api.github.com/repos/omegaup/omegaup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omegaup/omegaup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omegaup/omegaup/teams","hooks_url":"https://api.github.com/repos/omegaup/omegaup/hooks","issue_events_url":"https://api.github.com/repos/omegaup/omegaup/issues/events{/number}","events_url":"https://api.github.com/repos/omegaup/omegaup/events","assignees_url":"https://api.github.com/repos/omegaup/omegaup/assignees{/user}","branches_url":"https://api.github.com/repos/omegaup/omegaup/branches{/branch}","tags_url":"https://api.github.com/repos/omegaup/omegaup/tags","blobs_url":"https://api.github.com/repos/omegaup/omegaup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omegaup/omegaup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omegaup/omegaup/git/refs{/sha}","trees_url":"https://api.github.com/repos/omegaup/omegaup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omegaup/omegaup/statuses/{sha}","languages_url":"https://api.github.com/repos/omegaup/omegaup/languages","stargazers_url":"https://api.github.com/repos/omegaup/omegaup/stargazers","contributors_url":"https://api.github.com/repos/omegaup/omegaup/contributors","subscribers_url":"https://api.github.com/repos/omegaup/omegaup/subscribers","subscription_url":"https://api.github.com/repos/omegaup/omegaup/subscription","commits_url":"https://api.github.com/repos/omegaup/omegaup/commits{/sha}","git_commits_url":"https://api.github.com/repos/omegaup/omegaup/git/commits{/sha}","comments_url":"https://api.github.com/repos/omegaup/omegaup/comments{/number}","issue_comment_url":"https://api.github.com/repos/omegaup/omegaup/issues/comments{/number}","contents_url":"https://api.github.com/repos/omegaup/omegaup/contents/{+path}","compare_url":"https://api.github.com/repos/omegaup/omegaup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omegaup/omegaup/merges","archive_url":"https://api.github.com/repos/omegaup/omegaup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omegaup/omegaup/downloads","issues_url":"https://api.github.com/repos/omegaup/omegaup/issues{/number}","pulls_url":"https://api.github.com/repos/omegaup/omegaup/pulls{/number}","milestones_url":"https://api.github.com/repos/omegaup/omegaup/milestones{/number}","notifications_url":"https://api.github.com/repos/omegaup/omegaup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omegaup/omegaup/labels{/name}","releases_url":"https://api.github.com/repos/omegaup/omegaup/releases{/id}","deployments_url":"https://api.github.com/repos/omegaup/omegaup/deployments","created_at":"2011-01-12T00:11:21Z","updated_at":"2017-08-28T06:11:56Z","pushed_at":"2017-09-20T05:21:42Z","git_url":"git://github.com/omegaup/omegaup.git","ssh_url":"git@github.com:omegaup/omegaup.git","clone_url":"https://github.com/omegaup/omegaup.git","svn_url":"https://github.com/omegaup/omegaup","homepage":"https://omegaup.com","size":222644,"stargazers_count":39,"watchers_count":39,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":213,"forks":54,"open_issues":213,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1439"},"html":{"href":"https://github.com/omegaup/omegaup/pull/1439"},"issue":{"href":"https://api.github.com/repos/omegaup/omegaup/issues/1439"},"comments":{"href":"https://api.github.com/repos/omegaup/omegaup/issues/1439/comments"},"review_comments":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1439/comments"},"review_comment":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1439/commits"},"statuses":{"href":"https://api.github.com/repos/omegaup/omegaup/statuses/f16444b15728cec6b4ec8a5c3a0ddac00f896572"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"lhchavez"}}