{"issue":{"state":"closed","created_at":"2011-11-28T15:21:27Z","updated_at":"2011-12-02T13:22:40Z","comments":4,"user":{"gravatar_id":"4d6f74711436cfe252bf4fc8f3cf4971","id":524783,"url":"https://api.github.com/users/joliss","avatar_url":"https://secure.gravatar.com/avatar/4d6f74711436cfe252bf4fc8f3cf4971?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"joliss"},"body":"see http://stackoverflow.com/a/4379435/525872","assignee":null,"id":2368323,"pull_request":{"patch_url":"https://github.com/codebrew/backbone-rails/pull/72.patch","html_url":"https://github.com/codebrew/backbone-rails/pull/72","diff_url":"https://github.com/codebrew/backbone-rails/pull/72.diff"},"labels":[],"number":72,"title":"simply return false instead of calling preventDefault/stopPropagation","closed_at":"2011-11-30T16:27:02Z","html_url":"https://github.com/codebrew/backbone-rails/issues/72","url":"https://api.github.com/repos/codebrew/backbone-rails/issues/72","milestone":null},"action":"created","comment":{"created_at":"2011-12-02T13:22:40Z","updated_at":"2011-12-02T13:22:40Z","user":{"gravatar_id":"4d6f74711436cfe252bf4fc8f3cf4971","id":524783,"url":"https://api.github.com/users/joliss","avatar_url":"https://secure.gravatar.com/avatar/4d6f74711436cfe252bf4fc8f3cf4971?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"joliss"},"body":"> I don't know why I did both preventDefault and stopPropagation. I think a good update here is to just have it preventDefault which is the typical case you want to stop.\r\n\r\nJust a quick update: I ended up needing a stopPropagation call when I had buttons inside (surrounded by) a clickable div, in order to stop the div from triggering when the button is clicked.\r\n\r\nI also can't think of a case where you'd *want* to propagate the event.\r\n\r\nSo I guess keeping stopPropagation would be reasonable.","id":2989885,"url":"https://api.github.com/repos/codebrew/backbone-rails/issues/comments/2989885"}}