Sha256: 25d221f772fc1081f1d25dd0ed8f94a63a3f4ac2ab86cec9605f7722c63ec629

Contents?: true

Size: 691 Bytes

Versions: 20

Compression:

Stored size: 691 Bytes

Contents

column_span_id ||= element_cell_id(:id => @record.id.to_s, :action => 'update_column', :name => params[:column])
unless controller.send :successful?
  page.call 'alert', @record.errors.full_messages.join("\n")
  @record.reload
end
column = active_scaffold_config.columns[params[:column]]
if column.inplace_edit
  page.call 'ActiveScaffold.replace_html', column_span_id, format_inplace_edit_column(@record, column)
else
  formatted_value = get_column_value(@record, column)
  page.call 'ActiveScaffold.replace_html', column_span_id, formatted_value
end
page.call 'ActiveScaffold.replace_html', active_scaffold_calculations_id(column), render_column_calculation(column) if column.calculation?

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
active_scaffold_vho-3.0.31 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.30 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.29 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.28 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.27 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.26 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.25 frontends/default/views/update_column.js.rjs
active_scaffold-3.0.26 frontends/default/views/update_column.js.rjs
active_scaffold-3.0.25 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.24 frontends/default/views/update_column.js.rjs
active_scaffold_clarity-3.0.24.2 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.23 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.22 frontends/default/views/update_column.js.rjs
active_scaffold-3.0.24 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.21 frontends/default/views/update_column.js.rjs
active_scaffold-3.0.23 frontends/default/views/update_column.js.rjs
active_scaffold-3.0.22 frontends/default/views/update_column.js.rjs
active_scaffold-3.0.21 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.20 frontends/default/views/update_column.js.rjs
active_scaffold_vho-3.0.19 frontends/default/views/update_column.js.rjs