This project is archived and is in readonly mode.
Allow link_to_remote to receive options[:position] as a Symbol
Reported by John Devine | August 22nd, 2008 @ 08:56 PM | in 2.x
including :position=>:bottom in the options now results in a javascript error for me in edge. {:position=>"'bottom'"} works.
Not sure if it's something I changed or if a changeset along the way changed the behavior, but if that's the new way to do it, the docs for link_to_remote should be updated.
Can anyone confirm this?
Comments and changes to this ticket
-
Emilio Tagua August 30th, 2008 @ 11:53 PM
- Title changed from link_to_remote options[:position] to Allow link_to_remote to receive options[:position] as a Symbol
- Tag changed from actionview, javascript, prototype to actionview, javascript, patch, prototype
The behavior was changed when updating the code to be compliant with Prototype 1.6.
I have confirmed this with a test and added the patch fixing this.
-
Repository August 31st, 2008 @ 12:37 AM
- State changed from new to resolved
(from [c364c1f27d19cb15ed44b6ab285fe20d956699ce]) Allow prototype functions to receive position parameter as a symbol.
[#887 state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
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
Attachments
Referenced by
- 887 Allow link_to_remote to receive options[:position] as a Symbol [#887 state:resolved]