Sha256: 75b5f9c7c74ed859317f0093064d568e1c04156afbb868467627bd4fc710d4ba

Contents?: true

Size: 609 Bytes

Versions: 5

Compression:

Stored size: 609 Bytes

Contents

<% content_for :head_after_javascript_libraries, javascript_include_tag('refinery/nestedsortables.js') if (tree ||= false) %>
<% content_for :head_after_javascript_libraries, javascript_include_tag('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

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-0.9.8.5 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb
refinerycms-0.9.8.4 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb
refinerycms-0.9.8.3 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb
refinerycms-0.9.8.2 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb
refinerycms-0.9.8.1 vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb