Sha256: 8313ce5afbad07b2aabecb90cf00ffe58a262e11a168cf9d272db7396e70dae4

Contents?: true

Size: 720 Bytes

Versions: 11

Compression:

Stored size: 720 Bytes

Contents

<% content_for :after_javascript_libraries do %>
  <%= javascript_include_tag 'refinery/sortable_list' %>
  <%= javascript_include_tag 'refinery/nestedsortables' %>
  <%= javascript_include_tag 'refinery/serializelist' %>
  <%= javascript_include_tag 'refinery/tree' %>
<% end %>

<% content_for :javascripts do %>
  <script>
    $(document).ready(function(){
      create_sortable_list(
        <%= raw({
              update_url: refinery.url_for(action: "update_positions", only_path: true),
              sortable_list: '#sortable_list, .sortable_list',
              tree: false,
              replaceContentsAfterUpdate: false
            }.merge(options ||= {}).to_json) %>
      );
    });
  </script>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-4.0.2 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-4.0.1 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-3.0.6 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-4.0.0 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-3.0.5 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-3.0.4 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-3.0.3 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-3.0.2 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-3.0.1 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-3.0.0 app/views/refinery/admin/_make_sortable.html.erb