Sha256: 8d91417a0a0891ed1d63d8e3896b177a3e252fc65b0da55f9a6937c9142a7550

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

{:uriI"file:///Users/tvd/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/bundler/gems/alchemy_cms-53da864f169e/app/assets/javascripts/alchemy/alchemy.page_sorter.js?type=application/javascript&pipeline=self&id=39050c9220e7342065a15027fb41cfec0b3d04a36b89cc66b0b01fc505a9ec74:ET:load_pathI"v/Users/tvd/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/bundler/gems/alchemy_cms-53da864f169e/app/assets/javascripts;T:
filenameI"/Users/tvd/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/bundler/gems/alchemy_cms-53da864f169e/app/assets/javascripts/alchemy/alchemy.page_sorter.js;T:	nameI" alchemy/alchemy.page_sorter;T:logical_pathI"(alchemy/alchemy.page_sorter.self.js;T:content_typeI"application/javascript;T:sourceI"nAlchemy.PageSorter = function() {
  var $sortables = $('ul#sitemap').find('ul.level_1_children');

  $sortables.nestedSortable({
    disableNesting: 'no-nest',
    forcePlaceholderSize: true,
    handle: '.handle',
    items: 'li',
    listType: 'ul',
    opacity: 0.5,
    placeholder: 'placeholder',
    tabSize: 16,
    tolerance: 'pointer',
    toleranceElement: '> div'
  });

  $('#save_page_order').click(function(e) {
    e.preventDefault();
    Alchemy.Buttons.disable(this);
    $.post(Alchemy.routes.order_admin_pages_path, {
      set: JSON.stringify($sortables.nestedSortable('toHierarchy'))
    });
  });
};
;T:
metadata{:dependencieso:Set:
@hash}
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/tvd/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/bundler/gems/alchemy_cms-53da864f169e/app/assets/javascripts/alchemy/alchemy.page_sorter.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%h8ėF[Y/(GZC10:lengthin:dependencies_digest"%PuL2ӾPZv{`Pa	%B:idI"E39050c9220e7342065a15027fb41cfec0b3d04a36b89cc66b0b01fc505a9ec74;F:
mtimel+EY

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy-devise-4.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/e-/e-PShUk1yPXDq9jYjqxsKb_O8jRLfREpKLVqtXbr_aE.cache
alchemy-devise-3.6.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/e-/e-PShUk1yPXDq9jYjqxsKb_O8jRLfREpKLVqtXbr_aE.cache