Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
evergreen / app / assets / javascripts / page-tree-sortable.js
Size: Mime:
$(function() {
  $('#sortable-tree .sortable').nestedSortable({
    handle: 'div',
    items: 'li',
    toleranceElement: '> div',
    placeholder: 'placeholder',
    maxLevels: 5,
    opacity: 0.6,
    forcePlaceholderSize: true,
    update: function() {
      var serialized = $(this).nestedSortable('serialize');
      $.post($(this).data('url'), serialized, function(data) {});
    }
  });
});