Sha256: 2aac1ef87d79cb88c3150d7f384bdcba4b47d9850b11afa5e0d0cd09671a9a32
Contents?: true
Size: 491 Bytes
Versions: 5
Compression:
Stored size: 491 Bytes
Contents
@options = { :scaffold_id => params[:scaffold_id], :action => params[:referring_action], :id => params[:id] } if @successful page.remove element_row_id(@options) if @options[:action] == "update"+@suffix page.show element_row_id(@options.merge(:action => "view")) elsif @options[:action] == "create"+@suffix page << "AjaxScaffold.displayMessageIfEmpty('#{scaffold_tbody_id(@options)}','#{empty_message_id(@options)}');" end else page.hide loading_indicator_id(@options) end
Version data entries
5 entries across 5 versions & 1 rubygems