Sha256: 2b65c164eafbb475ffbffc230cc513472248aca7a2b37987fee5c74df6765963

Contents?: true

Size: 557 Bytes

Versions: 5

Compression:

Stored size: 557 Bytes

Contents

page.call 'ActiveScaffold.replace_html', active_scaffold_messages_id, render(:partial => 'messages')
if controller.send :successful?
  page.call 'ActiveScaffold.replace', element_row_id(:action => :list, :id => @record.id), render(:partial => 'list_record', :locals => {:record => @record}) if @record 
  page.call 'ActiveScaffold.replace', active_scaffold_calculations_id, render(:partial => 'list_calculations') if active_scaffold_config.list.columns.any? {|c| c.calculation?}
else
  page.call 'ActiveScaffold.scroll_to', active_scaffold_messages_id
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_scaffold-3.0.5 frontends/default/views/on_action_update.js.rjs
active_scaffold-3.0.4 frontends/default/views/on_action_update.js.rjs
active_scaffold-3.0.2 frontends/default/views/on_action_update.js.rjs
active_scaffold-3.0.1 frontends/default/views/on_action_update.js.rjs
active_scaffold-3.0.0 frontends/default/views/on_action_update.js.rjs