Sha256: f801f453b8b76eb1c58313b6eed4396f09c39ee36c659b619f791f91633ed1e4

Contents?: true

Size: 547 Bytes

Versions: 32

Compression:

Stored size: 547 Bytes

Contents

<% content_for :after_javascript_libraries,
               javascript_include_tag('refinery/nestedsortables.js',
                                      'refinery/serializelist.js') -%>
<% content_for :javascripts do %>
  <script>
    $(document).ready(function(){
      list_reorder.update_url     = '<%= update_url ||= url_for(:action => "update_positions") %>';
      list_reorder.sortable_list  = $('#<%= list_id ||= "sortable_list" %>');
      list_reorder.tree           = <%= tree %>;
      list_reorder.init();
    });
  </script>
<% end %>

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
refinerycms-core-1.0.11 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.10 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.9 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.8 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.7 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.5 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.4 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.3 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.1 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-1.0.0 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.22 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.21 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.20 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.19 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.18 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.17 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.16 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.15 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.14 app/views/shared/admin/_make_sortable.html.erb
refinerycms-core-0.9.9.13 app/views/shared/admin/_make_sortable.html.erb