Sha256: b8870ae92f0bc2a18767b148609f4db0e6069ceda5d2a9933c407724a3b46cb4

Contents?: true

Size: 748 Bytes

Versions: 6

Compression:

Stored size: 748 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({
        update_url: '<%= update_url ||= refinery.url_for(:action => "update_positions", :only_path => true) %>',
        sortable_list: $('#<%= list_id ||= "sortable_list" %>, .sortable_list'),
        tree: <%= tree %>,
        replaceContentsAfterUpdate: <%= local_assigns[:replace_contents_after_update] || false %>
      });
    });
  </script>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-core-2.1.5 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-2.1.4 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-2.1.3 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-2.1.2 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-2.1.1 app/views/refinery/admin/_make_sortable.html.erb
refinerycms-core-2.1.0 app/views/refinery/admin/_make_sortable.html.erb