{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/20","id":47373731,"html_url":"https://github.com/quicksketch/timezonepicker/pull/20","diff_url":"https://github.com/quicksketch/timezonepicker/pull/20.diff","patch_url":"https://github.com/quicksketch/timezonepicker/pull/20.patch","issue_url":"https://api.github.com/repos/quicksketch/timezonepicker/issues/20","number":20,"state":"closed","locked":false,"title":"Make changeHandler not getting overwritten if set","user":{"login":"jeorgen","id":369011,"avatar_url":"https://avatars.githubusercontent.com/u/369011?v=3","gravatar_id":"","url":"https://api.github.com/users/jeorgen","html_url":"https://github.com/jeorgen","followers_url":"https://api.github.com/users/jeorgen/followers","following_url":"https://api.github.com/users/jeorgen/following{/other_user}","gists_url":"https://api.github.com/users/jeorgen/gists{/gist_id}","starred_url":"https://api.github.com/users/jeorgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeorgen/subscriptions","organizations_url":"https://api.github.com/users/jeorgen/orgs","repos_url":"https://api.github.com/users/jeorgen/repos","events_url":"https://api.github.com/users/jeorgen/events{/privacy}","received_events_url":"https://api.github.com/users/jeorgen/received_events","type":"User","site_admin":false},"body":"If changeHandler is set in the code at line 14, its value gets overwritten by opt.changeHandler a couple of lines further down. This patch checks if changeHandler is already defined, and in that case uses that value.","created_at":"2015-10-11T19:35:16Z","updated_at":"2015-10-15T16:21:54Z","closed_at":"2015-10-15T16:21:54Z","merged_at":null,"merge_commit_sha":"7a11004378c37657d567898e703c0d12eb6b2dbc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/20/commits","review_comments_url":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/20/comments","review_comment_url":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quicksketch/timezonepicker/issues/20/comments","statuses_url":"https://api.github.com/repos/quicksketch/timezonepicker/statuses/c5a87cd9ef909d974361a557214da523ebca8322","head":{"label":"jeorgen:changeHandler","ref":"changeHandler","sha":"c5a87cd9ef909d974361a557214da523ebca8322","user":{"login":"jeorgen","id":369011,"avatar_url":"https://avatars.githubusercontent.com/u/369011?v=3","gravatar_id":"","url":"https://api.github.com/users/jeorgen","html_url":"https://github.com/jeorgen","followers_url":"https://api.github.com/users/jeorgen/followers","following_url":"https://api.github.com/users/jeorgen/following{/other_user}","gists_url":"https://api.github.com/users/jeorgen/gists{/gist_id}","starred_url":"https://api.github.com/users/jeorgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeorgen/subscriptions","organizations_url":"https://api.github.com/users/jeorgen/orgs","repos_url":"https://api.github.com/users/jeorgen/repos","events_url":"https://api.github.com/users/jeorgen/events{/privacy}","received_events_url":"https://api.github.com/users/jeorgen/received_events","type":"User","site_admin":false},"repo":{"id":44066310,"name":"timezonepicker","full_name":"jeorgen/timezonepicker","owner":{"login":"jeorgen","id":369011,"avatar_url":"https://avatars.githubusercontent.com/u/369011?v=3","gravatar_id":"","url":"https://api.github.com/users/jeorgen","html_url":"https://github.com/jeorgen","followers_url":"https://api.github.com/users/jeorgen/followers","following_url":"https://api.github.com/users/jeorgen/following{/other_user}","gists_url":"https://api.github.com/users/jeorgen/gists{/gist_id}","starred_url":"https://api.github.com/users/jeorgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeorgen/subscriptions","organizations_url":"https://api.github.com/users/jeorgen/orgs","repos_url":"https://api.github.com/users/jeorgen/repos","events_url":"https://api.github.com/users/jeorgen/events{/privacy}","received_events_url":"https://api.github.com/users/jeorgen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeorgen/timezonepicker","description":"A jQuery and ImageMap based timezone picker.","fork":true,"url":"https://api.github.com/repos/jeorgen/timezonepicker","forks_url":"https://api.github.com/repos/jeorgen/timezonepicker/forks","keys_url":"https://api.github.com/repos/jeorgen/timezonepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeorgen/timezonepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeorgen/timezonepicker/teams","hooks_url":"https://api.github.com/repos/jeorgen/timezonepicker/hooks","issue_events_url":"https://api.github.com/repos/jeorgen/timezonepicker/issues/events{/number}","events_url":"https://api.github.com/repos/jeorgen/timezonepicker/events","assignees_url":"https://api.github.com/repos/jeorgen/timezonepicker/assignees{/user}","branches_url":"https://api.github.com/repos/jeorgen/timezonepicker/branches{/branch}","tags_url":"https://api.github.com/repos/jeorgen/timezonepicker/tags","blobs_url":"https://api.github.com/repos/jeorgen/timezonepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeorgen/timezonepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeorgen/timezonepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeorgen/timezonepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeorgen/timezonepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/jeorgen/timezonepicker/languages","stargazers_url":"https://api.github.com/repos/jeorgen/timezonepicker/stargazers","contributors_url":"https://api.github.com/repos/jeorgen/timezonepicker/contributors","subscribers_url":"https://api.github.com/repos/jeorgen/timezonepicker/subscribers","subscription_url":"https://api.github.com/repos/jeorgen/timezonepicker/subscription","commits_url":"https://api.github.com/repos/jeorgen/timezonepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeorgen/timezonepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeorgen/timezonepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeorgen/timezonepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeorgen/timezonepicker/contents/{+path}","compare_url":"https://api.github.com/repos/jeorgen/timezonepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeorgen/timezonepicker/merges","archive_url":"https://api.github.com/repos/jeorgen/timezonepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeorgen/timezonepicker/downloads","issues_url":"https://api.github.com/repos/jeorgen/timezonepicker/issues{/number}","pulls_url":"https://api.github.com/repos/jeorgen/timezonepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/jeorgen/timezonepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/jeorgen/timezonepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeorgen/timezonepicker/labels{/name}","releases_url":"https://api.github.com/repos/jeorgen/timezonepicker/releases{/id}","created_at":"2015-10-11T19:28:50Z","updated_at":"2015-10-11T19:28:51Z","pushed_at":"2015-10-11T19:32:06Z","git_url":"git://github.com/jeorgen/timezonepicker.git","ssh_url":"git@github.com:jeorgen/timezonepicker.git","clone_url":"https://github.com/jeorgen/timezonepicker.git","svn_url":"https://github.com/jeorgen/timezonepicker","homepage":null,"size":2582,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"quicksketch:master","ref":"master","sha":"884950ae874088cce2ed7003990959658e520b07","user":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"repo":{"id":5836861,"name":"timezonepicker","full_name":"quicksketch/timezonepicker","owner":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quicksketch/timezonepicker","description":"A jQuery and ImageMap based timezone picker.","fork":false,"url":"https://api.github.com/repos/quicksketch/timezonepicker","forks_url":"https://api.github.com/repos/quicksketch/timezonepicker/forks","keys_url":"https://api.github.com/repos/quicksketch/timezonepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quicksketch/timezonepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quicksketch/timezonepicker/teams","hooks_url":"https://api.github.com/repos/quicksketch/timezonepicker/hooks","issue_events_url":"https://api.github.com/repos/quicksketch/timezonepicker/issues/events{/number}","events_url":"https://api.github.com/repos/quicksketch/timezonepicker/events","assignees_url":"https://api.github.com/repos/quicksketch/timezonepicker/assignees{/user}","branches_url":"https://api.github.com/repos/quicksketch/timezonepicker/branches{/branch}","tags_url":"https://api.github.com/repos/quicksketch/timezonepicker/tags","blobs_url":"https://api.github.com/repos/quicksketch/timezonepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quicksketch/timezonepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quicksketch/timezonepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/quicksketch/timezonepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quicksketch/timezonepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/quicksketch/timezonepicker/languages","stargazers_url":"https://api.github.com/repos/quicksketch/timezonepicker/stargazers","contributors_url":"https://api.github.com/repos/quicksketch/timezonepicker/contributors","subscribers_url":"https://api.github.com/repos/quicksketch/timezonepicker/subscribers","subscription_url":"https://api.github.com/repos/quicksketch/timezonepicker/subscription","commits_url":"https://api.github.com/repos/quicksketch/timezonepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/quicksketch/timezonepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/quicksketch/timezonepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/quicksketch/timezonepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/quicksketch/timezonepicker/contents/{+path}","compare_url":"https://api.github.com/repos/quicksketch/timezonepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quicksketch/timezonepicker/merges","archive_url":"https://api.github.com/repos/quicksketch/timezonepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quicksketch/timezonepicker/downloads","issues_url":"https://api.github.com/repos/quicksketch/timezonepicker/issues{/number}","pulls_url":"https://api.github.com/repos/quicksketch/timezonepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/quicksketch/timezonepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/quicksketch/timezonepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quicksketch/timezonepicker/labels{/name}","releases_url":"https://api.github.com/repos/quicksketch/timezonepicker/releases{/id}","created_at":"2012-09-17T05:53:47Z","updated_at":"2015-10-14T20:04:24Z","pushed_at":"2015-10-11T19:35:16Z","git_url":"git://github.com/quicksketch/timezonepicker.git","ssh_url":"git@github.com:quicksketch/timezonepicker.git","clone_url":"https://github.com/quicksketch/timezonepicker.git","svn_url":"https://github.com/quicksketch/timezonepicker","homepage":null,"size":2716,"stargazers_count":43,"watchers_count":43,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":9,"forks":19,"open_issues":9,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/20"},"html":{"href":"https://github.com/quicksketch/timezonepicker/pull/20"},"issue":{"href":"https://api.github.com/repos/quicksketch/timezonepicker/issues/20"},"comments":{"href":"https://api.github.com/repos/quicksketch/timezonepicker/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quicksketch/timezonepicker/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/quicksketch/timezonepicker/statuses/c5a87cd9ef909d974361a557214da523ebca8322"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}