Sha256: d1ec69d417905a1e70a314d9d470e0df59cb08fa3bfedc98e26bae5f3c29902f
Contents?: true
Size: 688 Bytes
Versions: 17
Compression:
Stored size: 688 Bytes
Contents
<% form_selector = "#{element_form_id(:action => :batch_update)}" %> <% if controller.send :batch_successful? %> ActiveScaffold.replace_html('<%= active_scaffold_content_id %>','<%= escape_javascript(render(:partial => 'list', :layout => false)) %>'); ActiveScaffold.find_action_link('<%= form_selector %>').close(); <% else %> ActiveScaffold.find_action_link('<%= form_selector %>').update_flash_messages('<%= escape_javascript(render(:partial => 'messages')) %>'); ActiveScaffold.replace('<%= form_selector %>', '<%= escape_javascript(render(:partial => 'batch_update_form', :locals => {:xhr => true})) %>'); ActiveScaffold.scroll_to('<%= form_selector %>', true); <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems