This project is archived and is in readonly mode.

#1681 ✓wontfix
Ryan Angilly

Option to stop event bubbling on link_to_remote and friends

Reported by Ryan Angilly | January 1st, 2009 @ 07:10 PM | in 2.x

Hey guys,

Does anyone else run into a situation where you want to stop event bubbling on a link_to_remote, so you have to do:

link_to_remote('linky', {:before => 'Event.extend(event).stop()', :update => 'div_id'})

Can we just get add a stop option so that:

link_to_remote('linky', {:url => '/action', :update => 'div_id', :stop => true})

I do it all the time. The second one looks nicer. Saves typing. Tiny patch.

Thanks! Ryan

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Pages