This project is archived and is in readonly mode.

#2593 ✓stale
anthony

Add an :escape_url option to remote_function

Reported by anthony | May 1st, 2009 @ 08:33 PM | in 3.x

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.

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>

Attachments

Referenced by

Pages