Sha256: 2612d1f8be73513955dfcbe2deb905954b5ec6083e31f561f060599eec5fbb1d

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

:javascript
  $(document).ready(function(){
    $('ol.sortable').nestedSortable({
      disableNesting: 'no-nest',
      forcePlaceholderSize: true,
      handle: 'div.handle',
      helper: 'clone',
      items: 'li',
      maxLevels: 3,
      opacity: .6,
      placeholder: 'placeholder',
      revert: 250,
      tabSize: 25,
      tolerance: 'pointer',
      toleranceElement: '> div'
    })
  });

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
the_sortable_tree-1.2.0 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.1.3 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.1.1 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.0.0 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml