Hi,
A quick turnaround is to add in-place="false" but then you'll lose the
confirmation message. It has to do with the way Rails 3 handles
unobstrusive javascript.
Like Domizio said, known issue needing fix.
Thanks,
TF
On 02/16/2011 04:00 AM, Mark Sobkowicz wrote:
I have a model "Events" with a delete button on the edit page. This delete
button seems to be trying to do an AJAX delete and stay on the same page - I get the
same little pinwheel animation I get when I delete on the table-plus, and my log says:
AREL (0.5ms) DELETE FROM "events" WHERE ("events"."id" = 19)
Rendered text template (0.0ms)
Completed 200 OK in 34ms (Views: 1.1ms | ActiveRecord: 4.7ms)
But the<delete-button> reference says if the context is the same as the record, delete
should not be in-place. If I add in-place="false" to the delete-button, nothing
changes.
Ideas?
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.