{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/23","id":48092028,"html_url":"https://github.com/KidSysco/jquery-ui-month-picker/pull/23","diff_url":"https://github.com/KidSysco/jquery-ui-month-picker/pull/23.diff","patch_url":"https://github.com/KidSysco/jquery-ui-month-picker/pull/23.patch","issue_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/issues/23","number":23,"state":"closed","locked":false,"title":"Prevents the menu from closing when the user clicks the input field","user":{"login":"benjamin-albert","id":5201428,"avatar_url":"https://avatars.githubusercontent.com/u/5201428?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-albert","html_url":"https://github.com/benjamin-albert","followers_url":"https://api.github.com/users/benjamin-albert/followers","following_url":"https://api.github.com/users/benjamin-albert/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-albert/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-albert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-albert/subscriptions","organizations_url":"https://api.github.com/users/benjamin-albert/orgs","repos_url":"https://api.github.com/users/benjamin-albert/repos","events_url":"https://api.github.com/users/benjamin-albert/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-albert/received_events","type":"User","site_admin":false},"body":"This is a fix for #22.\r\nThe culprit was my quick fix for #19\r\n\r\n    // If there is an open menu close it first.\r\n    if (_openedInstance) {\r\n        _openedInstance.Close(event);\r\n    }\r\n\r\nIt was placed right before this:\r\n\r\n    if (!this._visible) {\r\n        //open the menu\r\n    }\r\n\r\nSo when the user clicks the input field the opened menu will first be closed and then `!this._visible` will evaluate to true and the menu will be reopened.\r\n\r\nI fixed this the by moving the close opened menu code (and some other code) into the \r\n`if (!this._visible)`.","created_at":"2015-10-19T16:06:29Z","updated_at":"2015-10-19T17:09:36Z","closed_at":"2015-10-19T17:09:36Z","merged_at":"2015-10-19T17:09:36Z","merge_commit_sha":"57504cc838a646076e1b6e6647c6c1ab939f8325","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/23/commits","review_comments_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/23/comments","review_comment_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/issues/23/comments","statuses_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/statuses/4e1fcb60d3f2746e5bafb31e7ec0b2ff162441ab","head":{"label":"benjamin-albert:master","ref":"master","sha":"4e1fcb60d3f2746e5bafb31e7ec0b2ff162441ab","user":{"login":"benjamin-albert","id":5201428,"avatar_url":"https://avatars.githubusercontent.com/u/5201428?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-albert","html_url":"https://github.com/benjamin-albert","followers_url":"https://api.github.com/users/benjamin-albert/followers","following_url":"https://api.github.com/users/benjamin-albert/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-albert/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-albert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-albert/subscriptions","organizations_url":"https://api.github.com/users/benjamin-albert/orgs","repos_url":"https://api.github.com/users/benjamin-albert/repos","events_url":"https://api.github.com/users/benjamin-albert/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-albert/received_events","type":"User","site_admin":false},"repo":{"id":42950891,"name":"jquery-ui-month-picker","full_name":"benjamin-albert/jquery-ui-month-picker","owner":{"login":"benjamin-albert","id":5201428,"avatar_url":"https://avatars.githubusercontent.com/u/5201428?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-albert","html_url":"https://github.com/benjamin-albert","followers_url":"https://api.github.com/users/benjamin-albert/followers","following_url":"https://api.github.com/users/benjamin-albert/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-albert/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-albert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-albert/subscriptions","organizations_url":"https://api.github.com/users/benjamin-albert/orgs","repos_url":"https://api.github.com/users/benjamin-albert/repos","events_url":"https://api.github.com/users/benjamin-albert/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-albert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benjamin-albert/jquery-ui-month-picker","description":"jQuery UI Month Picker Plugin","fork":true,"url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker","forks_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/forks","keys_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/teams","hooks_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/hooks","issue_events_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/issues/events{/number}","events_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/events","assignees_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/assignees{/user}","branches_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/branches{/branch}","tags_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/tags","blobs_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/languages","stargazers_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/stargazers","contributors_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/contributors","subscribers_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/subscribers","subscription_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/subscription","commits_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/contents/{+path}","compare_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/merges","archive_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/downloads","issues_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/issues{/number}","pulls_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/labels{/name}","releases_url":"https://api.github.com/repos/benjamin-albert/jquery-ui-month-picker/releases{/id}","created_at":"2015-09-22T17:53:43Z","updated_at":"2015-09-22T17:53:44Z","pushed_at":"2015-10-19T16:07:15Z","git_url":"git://github.com/benjamin-albert/jquery-ui-month-picker.git","ssh_url":"git@github.com:benjamin-albert/jquery-ui-month-picker.git","clone_url":"https://github.com/benjamin-albert/jquery-ui-month-picker.git","svn_url":"https://github.com/benjamin-albert/jquery-ui-month-picker","homepage":"http://jsfiddle.net/kidsysco/JeZap/show","size":512,"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":"KidSysco:master","ref":"master","sha":"af4ed0b530fa61e37625915835a726df54d8155a","user":{"login":"KidSysco","id":2731230,"avatar_url":"https://avatars.githubusercontent.com/u/2731230?v=3","gravatar_id":"","url":"https://api.github.com/users/KidSysco","html_url":"https://github.com/KidSysco","followers_url":"https://api.github.com/users/KidSysco/followers","following_url":"https://api.github.com/users/KidSysco/following{/other_user}","gists_url":"https://api.github.com/users/KidSysco/gists{/gist_id}","starred_url":"https://api.github.com/users/KidSysco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KidSysco/subscriptions","organizations_url":"https://api.github.com/users/KidSysco/orgs","repos_url":"https://api.github.com/users/KidSysco/repos","events_url":"https://api.github.com/users/KidSysco/events{/privacy}","received_events_url":"https://api.github.com/users/KidSysco/received_events","type":"User","site_admin":false},"repo":{"id":8959037,"name":"jquery-ui-month-picker","full_name":"KidSysco/jquery-ui-month-picker","owner":{"login":"KidSysco","id":2731230,"avatar_url":"https://avatars.githubusercontent.com/u/2731230?v=3","gravatar_id":"","url":"https://api.github.com/users/KidSysco","html_url":"https://github.com/KidSysco","followers_url":"https://api.github.com/users/KidSysco/followers","following_url":"https://api.github.com/users/KidSysco/following{/other_user}","gists_url":"https://api.github.com/users/KidSysco/gists{/gist_id}","starred_url":"https://api.github.com/users/KidSysco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KidSysco/subscriptions","organizations_url":"https://api.github.com/users/KidSysco/orgs","repos_url":"https://api.github.com/users/KidSysco/repos","events_url":"https://api.github.com/users/KidSysco/events{/privacy}","received_events_url":"https://api.github.com/users/KidSysco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KidSysco/jquery-ui-month-picker","description":"jQuery UI Month Picker Plugin","fork":false,"url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker","forks_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/forks","keys_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/teams","hooks_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/hooks","issue_events_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/issues/events{/number}","events_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/events","assignees_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/assignees{/user}","branches_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/branches{/branch}","tags_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/tags","blobs_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/languages","stargazers_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/stargazers","contributors_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/contributors","subscribers_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/subscribers","subscription_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/subscription","commits_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/contents/{+path}","compare_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/merges","archive_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/downloads","issues_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/issues{/number}","pulls_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/labels{/name}","releases_url":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/releases{/id}","created_at":"2013-03-22T19:14:29Z","updated_at":"2015-10-15T14:14:50Z","pushed_at":"2015-10-19T17:09:36Z","git_url":"git://github.com/KidSysco/jquery-ui-month-picker.git","ssh_url":"git@github.com:KidSysco/jquery-ui-month-picker.git","clone_url":"https://github.com/KidSysco/jquery-ui-month-picker.git","svn_url":"https://github.com/KidSysco/jquery-ui-month-picker","homepage":"http://jsfiddle.net/kidsysco/JeZap/show","size":568,"stargazers_count":38,"watchers_count":38,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":1,"forks":18,"open_issues":1,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/23"},"html":{"href":"https://github.com/KidSysco/jquery-ui-month-picker/pull/23"},"issue":{"href":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/issues/23"},"comments":{"href":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/KidSysco/jquery-ui-month-picker/statuses/4e1fcb60d3f2746e5bafb31e7ec0b2ff162441ab"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"KidSysco","id":2731230,"avatar_url":"https://avatars.githubusercontent.com/u/2731230?v=3","gravatar_id":"","url":"https://api.github.com/users/KidSysco","html_url":"https://github.com/KidSysco","followers_url":"https://api.github.com/users/KidSysco/followers","following_url":"https://api.github.com/users/KidSysco/following{/other_user}","gists_url":"https://api.github.com/users/KidSysco/gists{/gist_id}","starred_url":"https://api.github.com/users/KidSysco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KidSysco/subscriptions","organizations_url":"https://api.github.com/users/KidSysco/orgs","repos_url":"https://api.github.com/users/KidSysco/repos","events_url":"https://api.github.com/users/KidSysco/events{/privacy}","received_events_url":"https://api.github.com/users/KidSysco/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":14,"deletions":14,"changed_files":2}}