{"action":"opened","number":251,"pull_request":{"url":"https://api.github.com/repos/lou/multi-select/pulls/251","id":85706583,"html_url":"https://github.com/lou/multi-select/pull/251","diff_url":"https://github.com/lou/multi-select/pull/251.diff","patch_url":"https://github.com/lou/multi-select/pull/251.patch","issue_url":"https://api.github.com/repos/lou/multi-select/issues/251","number":251,"state":"open","locked":false,"title":"Fix addOption when 'nested' specified","user":{"login":"solidmoose","id":5355741,"avatar_url":"https://avatars.githubusercontent.com/u/5355741?v=3","gravatar_id":"","url":"https://api.github.com/users/solidmoose","html_url":"https://github.com/solidmoose","followers_url":"https://api.github.com/users/solidmoose/followers","following_url":"https://api.github.com/users/solidmoose/following{/other_user}","gists_url":"https://api.github.com/users/solidmoose/gists{/gist_id}","starred_url":"https://api.github.com/users/solidmoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidmoose/subscriptions","organizations_url":"https://api.github.com/users/solidmoose/orgs","repos_url":"https://api.github.com/users/solidmoose/repos","events_url":"https://api.github.com/users/solidmoose/events{/privacy}","received_events_url":"https://api.github.com/users/solidmoose/received_events","type":"User","site_admin":false},"body":"Fixed an issue where addOption would not find the proper place to insert into when optgroups are specified & index is not.\r\nExample here: https://jsfiddle.net/me8v1fyp/\r\n\r\nThe index calculation doesn't recognize that `that.$element.children()` is the list of optgroups when they are specified, so it places the new option after the last optgroup - instead of entering the specified group (`nested`) to insert into.","created_at":"2016-09-18T11:03:08Z","updated_at":"2016-09-18T11:03:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lou/multi-select/pulls/251/commits","review_comments_url":"https://api.github.com/repos/lou/multi-select/pulls/251/comments","review_comment_url":"https://api.github.com/repos/lou/multi-select/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lou/multi-select/issues/251/comments","statuses_url":"https://api.github.com/repos/lou/multi-select/statuses/b5e268a27c8c0a1da068bb5dbaa18ee6aa92c577","head":{"label":"solidmoose:master","ref":"master","sha":"b5e268a27c8c0a1da068bb5dbaa18ee6aa92c577","user":{"login":"solidmoose","id":5355741,"avatar_url":"https://avatars.githubusercontent.com/u/5355741?v=3","gravatar_id":"","url":"https://api.github.com/users/solidmoose","html_url":"https://github.com/solidmoose","followers_url":"https://api.github.com/users/solidmoose/followers","following_url":"https://api.github.com/users/solidmoose/following{/other_user}","gists_url":"https://api.github.com/users/solidmoose/gists{/gist_id}","starred_url":"https://api.github.com/users/solidmoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidmoose/subscriptions","organizations_url":"https://api.github.com/users/solidmoose/orgs","repos_url":"https://api.github.com/users/solidmoose/repos","events_url":"https://api.github.com/users/solidmoose/events{/privacy}","received_events_url":"https://api.github.com/users/solidmoose/received_events","type":"User","site_admin":false},"repo":{"id":68514726,"name":"multi-select","full_name":"solidmoose/multi-select","owner":{"login":"solidmoose","id":5355741,"avatar_url":"https://avatars.githubusercontent.com/u/5355741?v=3","gravatar_id":"","url":"https://api.github.com/users/solidmoose","html_url":"https://github.com/solidmoose","followers_url":"https://api.github.com/users/solidmoose/followers","following_url":"https://api.github.com/users/solidmoose/following{/other_user}","gists_url":"https://api.github.com/users/solidmoose/gists{/gist_id}","starred_url":"https://api.github.com/users/solidmoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidmoose/subscriptions","organizations_url":"https://api.github.com/users/solidmoose/orgs","repos_url":"https://api.github.com/users/solidmoose/repos","events_url":"https://api.github.com/users/solidmoose/events{/privacy}","received_events_url":"https://api.github.com/users/solidmoose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/solidmoose/multi-select","description":"A user-friendlier drop-in replacement for the standard select with multiple attribute activated.","fork":true,"url":"https://api.github.com/repos/solidmoose/multi-select","forks_url":"https://api.github.com/repos/solidmoose/multi-select/forks","keys_url":"https://api.github.com/repos/solidmoose/multi-select/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solidmoose/multi-select/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solidmoose/multi-select/teams","hooks_url":"https://api.github.com/repos/solidmoose/multi-select/hooks","issue_events_url":"https://api.github.com/repos/solidmoose/multi-select/issues/events{/number}","events_url":"https://api.github.com/repos/solidmoose/multi-select/events","assignees_url":"https://api.github.com/repos/solidmoose/multi-select/assignees{/user}","branches_url":"https://api.github.com/repos/solidmoose/multi-select/branches{/branch}","tags_url":"https://api.github.com/repos/solidmoose/multi-select/tags","blobs_url":"https://api.github.com/repos/solidmoose/multi-select/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solidmoose/multi-select/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solidmoose/multi-select/git/refs{/sha}","trees_url":"https://api.github.com/repos/solidmoose/multi-select/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solidmoose/multi-select/statuses/{sha}","languages_url":"https://api.github.com/repos/solidmoose/multi-select/languages","stargazers_url":"https://api.github.com/repos/solidmoose/multi-select/stargazers","contributors_url":"https://api.github.com/repos/solidmoose/multi-select/contributors","subscribers_url":"https://api.github.com/repos/solidmoose/multi-select/subscribers","subscription_url":"https://api.github.com/repos/solidmoose/multi-select/subscription","commits_url":"https://api.github.com/repos/solidmoose/multi-select/commits{/sha}","git_commits_url":"https://api.github.com/repos/solidmoose/multi-select/git/commits{/sha}","comments_url":"https://api.github.com/repos/solidmoose/multi-select/comments{/number}","issue_comment_url":"https://api.github.com/repos/solidmoose/multi-select/issues/comments{/number}","contents_url":"https://api.github.com/repos/solidmoose/multi-select/contents/{+path}","compare_url":"https://api.github.com/repos/solidmoose/multi-select/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solidmoose/multi-select/merges","archive_url":"https://api.github.com/repos/solidmoose/multi-select/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solidmoose/multi-select/downloads","issues_url":"https://api.github.com/repos/solidmoose/multi-select/issues{/number}","pulls_url":"https://api.github.com/repos/solidmoose/multi-select/pulls{/number}","milestones_url":"https://api.github.com/repos/solidmoose/multi-select/milestones{/number}","notifications_url":"https://api.github.com/repos/solidmoose/multi-select/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solidmoose/multi-select/labels{/name}","releases_url":"https://api.github.com/repos/solidmoose/multi-select/releases{/id}","deployments_url":"https://api.github.com/repos/solidmoose/multi-select/deployments","created_at":"2016-09-18T10:37:45Z","updated_at":"2016-09-18T10:37:46Z","pushed_at":"2016-09-18T10:49:27Z","git_url":"git://github.com/solidmoose/multi-select.git","ssh_url":"git@github.com:solidmoose/multi-select.git","clone_url":"https://github.com/solidmoose/multi-select.git","svn_url":"https://github.com/solidmoose/multi-select","homepage":"loudev.com","size":1002,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":0,"default_branch":"master"}},"base":{"label":"lou:master","ref":"master","sha":"a0f48de085568a5040e7edef29999e4b17a700a1","user":{"login":"lou","id":27757,"avatar_url":"https://avatars.githubusercontent.com/u/27757?v=3","gravatar_id":"","url":"https://api.github.com/users/lou","html_url":"https://github.com/lou","followers_url":"https://api.github.com/users/lou/followers","following_url":"https://api.github.com/users/lou/following{/other_user}","gists_url":"https://api.github.com/users/lou/gists{/gist_id}","starred_url":"https://api.github.com/users/lou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lou/subscriptions","organizations_url":"https://api.github.com/users/lou/orgs","repos_url":"https://api.github.com/users/lou/repos","events_url":"https://api.github.com/users/lou/events{/privacy}","received_events_url":"https://api.github.com/users/lou/received_events","type":"User","site_admin":false},"repo":{"id":1601157,"name":"multi-select","full_name":"lou/multi-select","owner":{"login":"lou","id":27757,"avatar_url":"https://avatars.githubusercontent.com/u/27757?v=3","gravatar_id":"","url":"https://api.github.com/users/lou","html_url":"https://github.com/lou","followers_url":"https://api.github.com/users/lou/followers","following_url":"https://api.github.com/users/lou/following{/other_user}","gists_url":"https://api.github.com/users/lou/gists{/gist_id}","starred_url":"https://api.github.com/users/lou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lou/subscriptions","organizations_url":"https://api.github.com/users/lou/orgs","repos_url":"https://api.github.com/users/lou/repos","events_url":"https://api.github.com/users/lou/events{/privacy}","received_events_url":"https://api.github.com/users/lou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lou/multi-select","description":"A user-friendlier drop-in replacement for the standard select with multiple attribute activated.","fork":false,"url":"https://api.github.com/repos/lou/multi-select","forks_url":"https://api.github.com/repos/lou/multi-select/forks","keys_url":"https://api.github.com/repos/lou/multi-select/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lou/multi-select/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lou/multi-select/teams","hooks_url":"https://api.github.com/repos/lou/multi-select/hooks","issue_events_url":"https://api.github.com/repos/lou/multi-select/issues/events{/number}","events_url":"https://api.github.com/repos/lou/multi-select/events","assignees_url":"https://api.github.com/repos/lou/multi-select/assignees{/user}","branches_url":"https://api.github.com/repos/lou/multi-select/branches{/branch}","tags_url":"https://api.github.com/repos/lou/multi-select/tags","blobs_url":"https://api.github.com/repos/lou/multi-select/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lou/multi-select/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lou/multi-select/git/refs{/sha}","trees_url":"https://api.github.com/repos/lou/multi-select/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lou/multi-select/statuses/{sha}","languages_url":"https://api.github.com/repos/lou/multi-select/languages","stargazers_url":"https://api.github.com/repos/lou/multi-select/stargazers","contributors_url":"https://api.github.com/repos/lou/multi-select/contributors","subscribers_url":"https://api.github.com/repos/lou/multi-select/subscribers","subscription_url":"https://api.github.com/repos/lou/multi-select/subscription","commits_url":"https://api.github.com/repos/lou/multi-select/commits{/sha}","git_commits_url":"https://api.github.com/repos/lou/multi-select/git/commits{/sha}","comments_url":"https://api.github.com/repos/lou/multi-select/comments{/number}","issue_comment_url":"https://api.github.com/repos/lou/multi-select/issues/comments{/number}","contents_url":"https://api.github.com/repos/lou/multi-select/contents/{+path}","compare_url":"https://api.github.com/repos/lou/multi-select/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lou/multi-select/merges","archive_url":"https://api.github.com/repos/lou/multi-select/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lou/multi-select/downloads","issues_url":"https://api.github.com/repos/lou/multi-select/issues{/number}","pulls_url":"https://api.github.com/repos/lou/multi-select/pulls{/number}","milestones_url":"https://api.github.com/repos/lou/multi-select/milestones{/number}","notifications_url":"https://api.github.com/repos/lou/multi-select/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lou/multi-select/labels{/name}","releases_url":"https://api.github.com/repos/lou/multi-select/releases{/id}","deployments_url":"https://api.github.com/repos/lou/multi-select/deployments","created_at":"2011-04-11T21:07:09Z","updated_at":"2016-09-18T07:14:45Z","pushed_at":"2016-09-07T14:31:34Z","git_url":"git://github.com/lou/multi-select.git","ssh_url":"git@github.com:lou/multi-select.git","clone_url":"https://github.com/lou/multi-select.git","svn_url":"https://github.com/lou/multi-select","homepage":"loudev.com","size":1002,"stargazers_count":1130,"watchers_count":1130,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":297,"mirror_url":null,"open_issues_count":90,"forks":297,"open_issues":90,"watchers":1130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lou/multi-select/pulls/251"},"html":{"href":"https://github.com/lou/multi-select/pull/251"},"issue":{"href":"https://api.github.com/repos/lou/multi-select/issues/251"},"comments":{"href":"https://api.github.com/repos/lou/multi-select/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/lou/multi-select/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/lou/multi-select/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lou/multi-select/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/lou/multi-select/statuses/b5e268a27c8c0a1da068bb5dbaa18ee6aa92c577"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"solidmoose"}}