Sha256: 8c5b2d5135b482410a86505b771a5f80c73460ee38812ced74482863aec3efba
Contents?: true
Size: 836 Bytes
Versions: 5
Compression:
Stored size: 836 Bytes
Contents
@options = { :scaffold_id => params[:scaffold_id], :action => "update"+@suffix, :id => params[:id] } @view_options = @options.merge(:action => "view") if @successful page.hide element_row_id(@view_options) page.insert_html :bottom, scaffold_tbody_id(@options), :partial => scaffold_partial_path('new_edit') page << "new TableRow.MoveAfter('#{element_row_id(@view_options)}', '#{element_row_id(@options)}');" page.show element_row_id(@options) page << "Form.focusFirstElement('#{element_form_id(@options)}');" page.visual_effect :highlight, element_cell_id(@options) page.replace_html element_messages_id(@options), :partial => scaffold_partial_path('form_messages') else page.replace_html scaffold_messages_id(@options), :partial => scaffold_partial_path('messages') end page.hide loading_indicator_id(@view_options)
Version data entries
5 entries across 5 versions & 1 rubygems