Sha256: 8afbff7e60c5a3bfdccbdf6b24e8b9f79083971811e40ce15b7a4fd5aa4f99a1

Contents?: true

Size: 520 Bytes

Versions: 14

Compression:

Stored size: 520 Bytes

Contents

<% resource = (@_effective_resource || Effective::Resource.new(controller_path)) %>
<% @resource = instance_variable_get('@' + resource.name) if resource.name %>

EffectiveForm.remote_form_payload = '';
EffectiveForm.remote_form_flash = <%= raw flash.to_json %>;

<% if @resource.respond_to?(:refresh_datatables) && @resource.refresh_datatables.present? %>
  EffectiveForm.remote_form_refresh_datatables = <%= raw Array(@resource.refresh_datatables).uniq.compact.map(&:to_s) %>;
<% end %>

EffectiveForm.finishDelete();

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
effective_resources-1.2.15 app/views/application/destroy.js.erb
effective_resources-1.2.14 app/views/application/destroy.js.erb
effective_resources-1.2.12 app/views/application/destroy.js.erb
effective_resources-1.2.11 app/views/application/destroy.js.erb
effective_resources-1.2.10 app/views/application/destroy.js.erb
effective_resources-1.2.9 app/views/application/destroy.js.erb
effective_resources-1.2.8 app/views/application/destroy.js.erb
effective_resources-1.2.6 app/views/application/destroy.js.erb
effective_resources-1.2.5 app/views/application/destroy.js.erb
effective_resources-1.2.4 app/views/application/destroy.js.erb
effective_resources-1.2.3 app/views/application/destroy.js.erb
effective_resources-1.2.2 app/views/application/destroy.js.erb
effective_resources-1.2.1 app/views/application/destroy.js.erb
effective_resources-1.2.0 app/views/application/destroy.js.erb