Displaying 2 results from an estimated 2 matches for "ajax_edit".
2005 Aug 15
2
Newbie rendering problem
...end(column.name) %></td>
<% end %>
<td><%= link_to ''Show'', :action => ''show'', :id => item %></td>
<td><%= link_to_remote(''Edit'', :update=>item.id,:url=>{ :action =>
''ajax_edit'', :id => item}) %></td>
<td><%= link_to_remote(''Destroy'',:update=>item.id, :url=>{:action
=>:ajax_destroy, :id => item}, :confirm => ''Are you sure?'') %></td>
</tr>
I have an edit link in the f...
2006 Mar 02
7
Timing of effects before and after Ajax call
...ot;,
:update => ''post1'',
:before => "new Effect.BlindUp(''post1'')",
:complete => "new Effect.BlindDown(''post1'', {queue: end''})",
:url => { :action => :ajax_edit, :id => post }) %>
The problem is that during the BlindUp effect, the block is already updated
so while the block is "closing", the new content is already visible for the
user. Is it possible to make sure that the content of the block is changed
AFTER the effect BlindUp is complete...