{"action":"created","comment":{"url":"https://api.github.com/repos/CeON/saos/pulls/comments/22637238","id":22637238,"diff_hunk":"@@ -12,29 +12,69 @@ var Suggester = (function() {\n     var space = {},\n     \tselItem = [],\n     \tgetUrl = [],\n+    \tgetValue = [],\n     \t\n     \tmaxElementsInList = 10,\n-    \tcssClass = \"suggestions\";\n+    \tcssClass = \"suggestions\",\n     \n+    \tSELECTED_FIELD_CLASS = \"suggestion\",\n+    \tCONTAINER_ID = \"suggestions\",\n+    \tAREA_ID = \"suggestion-area\",\n+    \tWRAPPER_ID = \"suggestion-wrapper\",\n+    \t\n+\t\tFIELD_FOR = \"data-field-for\",\n+    \t\t\n+    \t\t\n+    \tOFFSET = 100;\n     \n     /* Initialize url parameter and runs main methods: create suggestion container\n      * and assign load suggestions methods to input field.\n      * \n      * @param $field input field connected to suggester\n      * @param source configuration parameters(json):\n-     * \t\t- getUrl - function that takes one @param id and returns url location with list of suggestions.\n-     * \t\t  Module requires function instead of simple url, because this way it can handle url like e.g. \"/keywords/COMMON/{phrase}/list\"\n+     * \t\t- boxyMode","path":"saos-webapp/src/main/webapp/WEB-INF/static/javascript/modules/suggester.js","position":27,"original_position":27,"commit_id":"08b9e4405b34873d1b648cb2499eee91f05500d5","original_commit_id":"08b9e4405b34873d1b648cb2499eee91f05500d5","user":{"login":"lukdumi","id":4545956,"avatar_url":"https://avatars.githubusercontent.com/u/4545956?v=3","gravatar_id":"","url":"https://api.github.com/users/lukdumi","html_url":"https://github.com/lukdumi","followers_url":"https://api.github.com/users/lukdumi/followers","following_url":"https://api.github.com/users/lukdumi/following{/other_user}","gists_url":"https://api.github.com/users/lukdumi/gists{/gist_id}","starred_url":"https://api.github.com/users/lukdumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukdumi/subscriptions","organizations_url":"https://api.github.com/users/lukdumi/orgs","repos_url":"https://api.github.com/users/lukdumi/repos","events_url":"https://api.github.com/users/lukdumi/events{/privacy}","received_events_url":"https://api.github.com/users/lukdumi/received_events","type":"User","site_admin":false},"body":"It would be nice to have a simple description of what the boxyMode is.","created_at":"2015-01-08T06:31:56Z","updated_at":"2015-01-08T06:31:56Z","html_url":"https://github.com/CeON/saos/pull/396#discussion_r22637238","pull_request_url":"https://api.github.com/repos/CeON/saos/pulls/396","_links":{"self":{"href":"https://api.github.com/repos/CeON/saos/pulls/comments/22637238"},"html":{"href":"https://github.com/CeON/saos/pull/396#discussion_r22637238"},"pull_request":{"href":"https://api.github.com/repos/CeON/saos/pulls/396"}}},"pull_request":{"url":"https://api.github.com/repos/CeON/saos/pulls/396","id":26638896,"html_url":"https://github.com/CeON/saos/pull/396","diff_url":"https://github.com/CeON/saos/pull/396.diff","patch_url":"https://github.com/CeON/saos/pull/396.patch","issue_url":"https://api.github.com/repos/CeON/saos/issues/396","number":396,"state":"open","locked":false,"title":"Multiple autocompletion boxing","user":{"login":"pawelczak","id":2970141,"avatar_url":"https://avatars.githubusercontent.com/u/2970141?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelczak","html_url":"https://github.com/pawelczak","followers_url":"https://api.github.com/users/pawelczak/followers","following_url":"https://api.github.com/users/pawelczak/following{/other_user}","gists_url":"https://api.github.com/users/pawelczak/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelczak/subscriptions","organizations_url":"https://api.github.com/users/pawelczak/orgs","repos_url":"https://api.github.com/users/pawelczak/repos","events_url":"https://api.github.com/users/pawelczak/events{/privacy}","received_events_url":"https://api.github.com/users/pawelczak/received_events","type":"User","site_admin":false},"body":"#312","created_at":"2014-12-29T10:31:56Z","updated_at":"2015-01-08T06:31:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"353912e9191281c7c1d6b44c426941649b244546","assignee":{"login":"lukdumi","id":4545956,"avatar_url":"https://avatars.githubusercontent.com/u/4545956?v=3","gravatar_id":"","url":"https://api.github.com/users/lukdumi","html_url":"https://github.com/lukdumi","followers_url":"https://api.github.com/users/lukdumi/followers","following_url":"https://api.github.com/users/lukdumi/following{/other_user}","gists_url":"https://api.github.com/users/lukdumi/gists{/gist_id}","starred_url":"https://api.github.com/users/lukdumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukdumi/subscriptions","organizations_url":"https://api.github.com/users/lukdumi/orgs","repos_url":"https://api.github.com/users/lukdumi/repos","events_url":"https://api.github.com/users/lukdumi/events{/privacy}","received_events_url":"https://api.github.com/users/lukdumi/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CeON/saos/pulls/396/commits","review_comments_url":"https://api.github.com/repos/CeON/saos/pulls/396/comments","review_comment_url":"https://api.github.com/repos/CeON/saos/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CeON/saos/issues/396/comments","statuses_url":"https://api.github.com/repos/CeON/saos/statuses/08b9e4405b34873d1b648cb2499eee91f05500d5","head":{"label":"CeON:pawelczak_keywords_boxing","ref":"pawelczak_keywords_boxing","sha":"08b9e4405b34873d1b648cb2499eee91f05500d5","user":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"repo":{"id":19143929,"name":"saos","full_name":"CeON/saos","owner":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CeON/saos","description":"System Analizy Orzeczeń Sądowych /Court Judgement Analysis System/","fork":false,"url":"https://api.github.com/repos/CeON/saos","forks_url":"https://api.github.com/repos/CeON/saos/forks","keys_url":"https://api.github.com/repos/CeON/saos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CeON/saos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CeON/saos/teams","hooks_url":"https://api.github.com/repos/CeON/saos/hooks","issue_events_url":"https://api.github.com/repos/CeON/saos/issues/events{/number}","events_url":"https://api.github.com/repos/CeON/saos/events","assignees_url":"https://api.github.com/repos/CeON/saos/assignees{/user}","branches_url":"https://api.github.com/repos/CeON/saos/branches{/branch}","tags_url":"https://api.github.com/repos/CeON/saos/tags","blobs_url":"https://api.github.com/repos/CeON/saos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CeON/saos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CeON/saos/git/refs{/sha}","trees_url":"https://api.github.com/repos/CeON/saos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CeON/saos/statuses/{sha}","languages_url":"https://api.github.com/repos/CeON/saos/languages","stargazers_url":"https://api.github.com/repos/CeON/saos/stargazers","contributors_url":"https://api.github.com/repos/CeON/saos/contributors","subscribers_url":"https://api.github.com/repos/CeON/saos/subscribers","subscription_url":"https://api.github.com/repos/CeON/saos/subscription","commits_url":"https://api.github.com/repos/CeON/saos/commits{/sha}","git_commits_url":"https://api.github.com/repos/CeON/saos/git/commits{/sha}","comments_url":"https://api.github.com/repos/CeON/saos/comments{/number}","issue_comment_url":"https://api.github.com/repos/CeON/saos/issues/comments/{number}","contents_url":"https://api.github.com/repos/CeON/saos/contents/{+path}","compare_url":"https://api.github.com/repos/CeON/saos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CeON/saos/merges","archive_url":"https://api.github.com/repos/CeON/saos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CeON/saos/downloads","issues_url":"https://api.github.com/repos/CeON/saos/issues{/number}","pulls_url":"https://api.github.com/repos/CeON/saos/pulls{/number}","milestones_url":"https://api.github.com/repos/CeON/saos/milestones{/number}","notifications_url":"https://api.github.com/repos/CeON/saos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CeON/saos/labels{/name}","releases_url":"https://api.github.com/repos/CeON/saos/releases{/id}","created_at":"2014-04-25T11:33:17Z","updated_at":"2015-01-07T07:21:18Z","pushed_at":"2015-01-07T13:41:48Z","git_url":"git://github.com/CeON/saos.git","ssh_url":"git@github.com:CeON/saos.git","clone_url":"https://github.com/CeON/saos.git","svn_url":"https://github.com/CeON/saos","homepage":null,"size":10098,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":20,"forks":2,"open_issues":20,"watchers":2,"default_branch":"master"}},"base":{"label":"CeON:master","ref":"master","sha":"0011eed7c257b3f5681965d6b3892522f7b7666a","user":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"repo":{"id":19143929,"name":"saos","full_name":"CeON/saos","owner":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CeON/saos","description":"System Analizy Orzeczeń Sądowych /Court Judgement Analysis System/","fork":false,"url":"https://api.github.com/repos/CeON/saos","forks_url":"https://api.github.com/repos/CeON/saos/forks","keys_url":"https://api.github.com/repos/CeON/saos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CeON/saos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CeON/saos/teams","hooks_url":"https://api.github.com/repos/CeON/saos/hooks","issue_events_url":"https://api.github.com/repos/CeON/saos/issues/events{/number}","events_url":"https://api.github.com/repos/CeON/saos/events","assignees_url":"https://api.github.com/repos/CeON/saos/assignees{/user}","branches_url":"https://api.github.com/repos/CeON/saos/branches{/branch}","tags_url":"https://api.github.com/repos/CeON/saos/tags","blobs_url":"https://api.github.com/repos/CeON/saos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CeON/saos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CeON/saos/git/refs{/sha}","trees_url":"https://api.github.com/repos/CeON/saos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CeON/saos/statuses/{sha}","languages_url":"https://api.github.com/repos/CeON/saos/languages","stargazers_url":"https://api.github.com/repos/CeON/saos/stargazers","contributors_url":"https://api.github.com/repos/CeON/saos/contributors","subscribers_url":"https://api.github.com/repos/CeON/saos/subscribers","subscription_url":"https://api.github.com/repos/CeON/saos/subscription","commits_url":"https://api.github.com/repos/CeON/saos/commits{/sha}","git_commits_url":"https://api.github.com/repos/CeON/saos/git/commits{/sha}","comments_url":"https://api.github.com/repos/CeON/saos/comments{/number}","issue_comment_url":"https://api.github.com/repos/CeON/saos/issues/comments/{number}","contents_url":"https://api.github.com/repos/CeON/saos/contents/{+path}","compare_url":"https://api.github.com/repos/CeON/saos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CeON/saos/merges","archive_url":"https://api.github.com/repos/CeON/saos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CeON/saos/downloads","issues_url":"https://api.github.com/repos/CeON/saos/issues{/number}","pulls_url":"https://api.github.com/repos/CeON/saos/pulls{/number}","milestones_url":"https://api.github.com/repos/CeON/saos/milestones{/number}","notifications_url":"https://api.github.com/repos/CeON/saos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CeON/saos/labels{/name}","releases_url":"https://api.github.com/repos/CeON/saos/releases{/id}","created_at":"2014-04-25T11:33:17Z","updated_at":"2015-01-07T07:21:18Z","pushed_at":"2015-01-07T13:41:48Z","git_url":"git://github.com/CeON/saos.git","ssh_url":"git@github.com:CeON/saos.git","clone_url":"https://github.com/CeON/saos.git","svn_url":"https://github.com/CeON/saos","homepage":null,"size":10098,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":20,"forks":2,"open_issues":20,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CeON/saos/pulls/396"},"html":{"href":"https://github.com/CeON/saos/pull/396"},"issue":{"href":"https://api.github.com/repos/CeON/saos/issues/396"},"comments":{"href":"https://api.github.com/repos/CeON/saos/issues/396/comments"},"review_comments":{"href":"https://api.github.com/repos/CeON/saos/pulls/396/comments"},"review_comment":{"href":"https://api.github.com/repos/CeON/saos/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CeON/saos/pulls/396/commits"},"statuses":{"href":"https://api.github.com/repos/CeON/saos/statuses/08b9e4405b34873d1b648cb2499eee91f05500d5"}}}}