Sha256: e630902a0a344187aeba1955fce1c661b069bf7104d15942aba4cc1732fb8ca9

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

<% content_for :head_after_javascript_libraries,
               javascript_include_tag('refinery/nestedsortables.js',
                                      'refinery/serializelist.js') -%>
<% content_for :head do %>
  <script type='text/javascript'>
    $(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

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-0.9.8.9 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb
refinerycms-0.9.8.8 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb
refinerycms-0.9.8.7 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb
refinerycms-0.9.8.6 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb