Sha256: 441f4eb5e58f096263168cce90d903c66fd7408b5e11ce4a62b04e7954c147d9
Contents?: true
Size: 1021 Bytes
Versions: 5
Compression:
Stored size: 1021 Bytes
Contents
try { <% insert_at ||= :top %> <%= render :partial => 'update_messages', :locals => {:messages_id => active_scaffold_messages_id} %> <% if controller.send :successful? %> <% if (active_scaffold_config.duplicate.refresh_list) %> <%= render :partial => 'refresh_list' %> <% else %> <% new_row = render :partial => 'list_record', :locals => {:record => @record} %> ActiveScaffold.create_record_row('<%= active_scaffold_id %>','<%= escape_javascript(new_row) %>', <%= {:insert_at => insert_at}.to_json.html_safe %>); <%= render :partial => 'update_calculations', :formats => [:js] %> <% end %> action_link.close(); <% if (active_scaffold_config.duplicate.action_after_clone) %> var link = ActiveScaffold.find_action_link('<%= action_link_id active_scaffold_config.duplicate.action_after_clone, @record.id %>'); if (link) (function() { link.open() })<%= '.defer' if ActiveScaffold.js_framework == :prototype %>(); <% end %> <% end %> } catch (e) { alert('RJS error:\n\n' + e.toString());}
Version data entries
5 entries across 5 versions & 1 rubygems