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.

There was a problem

This is not a public project

This project is archived and is in readonly mode.

Add an :escape_url option to remote_function

#2593

Since remote_function is creating a javascript/AJAX function call it is reasonable to expect that we don't always want the :url parameter escaped. For example, in my case I was creating a drop_receiving_element and the url was dependent on the element being dropped.

remote_function should have an :escape_url option that defaults to true but can explicitly be set to false for cases like these.

Reported by anthony · May 1st, 2009 @ 08:33 PM

State: stale
Milestone: 3.x
Assigned to: nobody
Importance: none

Activity

  1. anthony
    anthony

    I cleaned up the patch a little bit. The code is the same, just some formatting changes and I combined 2 checkins into 1...

    May 2nd, 2009 @ 01:37 AM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  3. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale
    • Importance changed from to

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

    October 14th, 2010 @ 11:01 AM