This project is archived and is in readonly mode.

Changeset [25181cafee9ef087a14b5134b9fa1f85f758705a] by Xavier Noria

April 13th, 2011 @ 12:23 PM

let the default function in button_to_function be nil

I don't know which is the use case for button_to_function(name)
but there's a test for it. I am focused now on RJS extraction
and do not want to introduce a backwards incompatible change
at this moment. Perhaps worth revisiting when the whole thing
is done.
https://github.com/rails/rails/commit/25181cafee9ef087a14b5134b9fa1...

Committed by Xavier Noria

  • M actionpack/lib/action_view/helpers/javascript_helper.rb

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>