{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/harvesthq/chosen/pull/337.diff","html_url":"https://github.com/harvesthq/chosen/pull/337","patch_url":"https://github.com/harvesthq/chosen/pull/337.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/21cf77e8086658c3df1819344867f4c4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"21cf77e8086658c3df1819344867f4c4","url":"https://api.github.com/users/carlocapocasa","login":"carlocapocasa","id":1167940},"milestone":null,"labels":[],"updated_at":"2011-11-04T09:23:55Z","assignee":null,"comments":2,"closed_at":null,"url":"https://api.github.com/repos/harvesthq/chosen/issues/337","body":"Hi, and thanks for making chosen!\r\n\r\nIf you use some kind of dirtyforms plugin, clicking on Chosen UI elements will cause the \"leave page\" handling code to be called.\r\n\r\nThis is because, apparently, links to javascript:void will trigger the onbeforeunload event in at least IE 6, 7 and 8.\r\n\r\nI'm not sure what the Microsoft rationale is for this behavior :) but here's a quick fix (for jquery, doesn't break anything).\r\n\r\nbtw here's yeat another pretty example of the chosen forms:  http://spendet.org/losgehts.html\r\n\r\nCarlo\r\n","html_url":"https://github.com/harvesthq/chosen/issues/337","number":337,"title":"Keep javascript:void links from triggering onbeforeunload in IE","id":2132258,"created_at":"2011-11-03T13:18:19Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/21cf77e8086658c3df1819344867f4c4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"21cf77e8086658c3df1819344867f4c4","url":"https://api.github.com/users/carlocapocasa","login":"carlocapocasa","id":1167940},"updated_at":"2011-11-04T09:23:55Z","url":"https://api.github.com/repos/harvesthq/chosen/issues/comments/2628591","body":"Done.","id":2628591,"created_at":"2011-11-04T09:23:55Z"}}