Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Allow link_to_remote to receive options[:position] as a Symbol

#887

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?

Reported by John Devine · August 22nd, 2008 @ 08:56 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Emilio Tagua
    Emilio Tagua
    • 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.

    August 30th, 2008 @ 11:53 PM

  2. Repository
    Repository
    • State changed from new to resolved

    (from [c364c1f27d19cb15ed44b6ab285fe20d956699ce]) Allow prototype functions to receive position parameter as a symbol.

    [#887 Allow link_to_remote to receive options[:position] as a Symbol state:resolved]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

    August 31st, 2008 @ 12:37 AM