RailsCasts Pro episodes are now free!

Learn more or hide this

Hari Rajagopal's Profile

GitHub User: hariis

Site: http://www.engagevia.com

Comments by Hari Rajagopal


I have the following code

<%= bestin_place comment, :description, :type => :textarea,:ok_button => "Save", :cancel_button => "Cancel",:activator => "#edit#{comment.id}" %>
<%= buttontag "Edit" , :id => "edit#{comment.id}" %>

I have multiple of these in my view.

Clicking on the "Edit" button, in my case, the first time does not activate the editing
I have to click on the description text once and then click on the "Edit" button to activate the editing.