{"action":"created","issue":{"url":"https://api.github.com/repos/josedvq/colpick-jQuery-Color-Picker/issues/30","labels_url":"https://api.github.com/repos/josedvq/colpick-jQuery-Color-Picker/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/josedvq/colpick-jQuery-Color-Picker/issues/30/comments","events_url":"https://api.github.com/repos/josedvq/colpick-jQuery-Color-Picker/issues/30/events","html_url":"https://github.com/josedvq/colpick-jQuery-Color-Picker/issues/30","id":49872863,"number":30,"title":"colpickShow causes javascript error","user":{"login":"pergardebrink","id":8502070,"avatar_url":"https://avatars.githubusercontent.com/u/8502070?v=3","gravatar_id":"","url":"https://api.github.com/users/pergardebrink","html_url":"https://github.com/pergardebrink","followers_url":"https://api.github.com/users/pergardebrink/followers","following_url":"https://api.github.com/users/pergardebrink/following{/other_user}","gists_url":"https://api.github.com/users/pergardebrink/gists{/gist_id}","starred_url":"https://api.github.com/users/pergardebrink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pergardebrink/subscriptions","organizations_url":"https://api.github.com/users/pergardebrink/orgs","repos_url":"https://api.github.com/users/pergardebrink/repos","events_url":"https://api.github.com/users/pergardebrink/events{/privacy}","received_events_url":"https://api.github.com/users/pergardebrink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-24T10:04:56Z","updated_at":"2015-01-15T20:37:33Z","closed_at":null,"body":"I have a small problem with the colpickShow function. When calling it, I get an error stating \"Uncaught TypeError: Cannot read property 'stopPropagation' of undefined\"\r\n\r\nThis seems to be because there is no event sent into the show function when called externally that it tries to use (on line 233 in colpick.js). Should there be some check if an event is provided before trying to stop propagation?\r\n\r\nExample jsfiddle with the problem (open javascript console to see error): http://jsfiddle.net/uwwywjv8/\r\n\r\nGreat work btw!\r\n"},"comment":{"url":"https://api.github.com/repos/josedvq/colpick-jQuery-Color-Picker/issues/comments/70157092","html_url":"https://github.com/josedvq/colpick-jQuery-Color-Picker/issues/30#issuecomment-70157092","issue_url":"https://api.github.com/repos/josedvq/colpick-jQuery-Color-Picker/issues/30","id":70157092,"user":{"login":"DorianListens","id":5692947,"avatar_url":"https://avatars.githubusercontent.com/u/5692947?v=3","gravatar_id":"","url":"https://api.github.com/users/DorianListens","html_url":"https://github.com/DorianListens","followers_url":"https://api.github.com/users/DorianListens/followers","following_url":"https://api.github.com/users/DorianListens/following{/other_user}","gists_url":"https://api.github.com/users/DorianListens/gists{/gist_id}","starred_url":"https://api.github.com/users/DorianListens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DorianListens/subscriptions","organizations_url":"https://api.github.com/users/DorianListens/orgs","repos_url":"https://api.github.com/users/DorianListens/repos","events_url":"https://api.github.com/users/DorianListens/events{/privacy}","received_events_url":"https://api.github.com/users/DorianListens/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T20:37:33Z","updated_at":"2015-01-15T20:37:33Z","body":"I've encountered this problem as well, the way we've gotten around this is by using jQuery to fire a click event on the colpick target rather than running colpickShow, which has the same effect."}}