Sha256: b363fb313010a612f1a417a37a8dcb948337e642df78ddf923e94f890d0dcc7a

Contents?: true

Size: 403 Bytes

Versions: 13

Compression:

Stored size: 403 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
the_sortable_tree_mongoid-1.8.5.1 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree_mongoid-1.8.5 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.9.0 app/views/sortable/base/_js_init_sortable_tree.html.haml
the_sortable_tree-1.8.6 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.8.5 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.8.0 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.7.1 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.7.0 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.6.0 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.5.0 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.4.8 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.4.7 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml
the_sortable_tree-1.4.6 app/views/the_sortable_tree/_js_init_sortable_tree.html.haml