This project is archived and is in readonly mode.
submit_tag :confirm bug
-
Clemens Kofler
You should use :confirm and not :confirmation, otherwise you might confuse people (you confused me ;-)).
As for the patch, this looks like a good idea to me. Is the "return true" really necessary?
-
Lawrence Pit
Ah yeah, sorry, the example in this ticket should indeed use :confirm. The patch is correct though. I like the return true to be explicit.
-
Lawrence Pit
- Title changed from submit_tag :confirmation bug to submit_tag :confirm bug
-
Pratik
- Assigned user set to josh
-
Repository
- State changed from open to resolved
(from [77f7d98e38dddf72890c80b4e4b2e088bb76d111]) submit_tag with confirmation and disable_with [#660 submit_tag :confirm bug state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
