{:uriI"file:///Users/tvd/.rvm/gems/ruby-2.3.0@alchemy/bundler/gems/alchemy_cms-2ced6d40b088/app/assets/javascripts/alchemy/alchemy.page_sorter.js?type=application/javascript&pipeline=self&id=7c128d1123cbd3f421df0dd2ae338004d8fd29c83ae1979fdbcda71a3599cb64:ET:load_pathI"i/Users/tvd/.rvm/gems/ruby-2.3.0@alchemy/bundler/gems/alchemy_cms-2ced6d40b088/app/assets/javascripts;T: filenameI"/Users/tvd/.rvm/gems/ruby-2.3.0@alchemy/bundler/gems/alchemy_cms-2ced6d40b088/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"if (typeof(Alchemy) === 'undefined') { var Alchemy = {}; } (function($) { var PageSorter = {}; $.extend(Alchemy, PageSorter); Alchemy.PageSorter = { init: 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) { var params = { set: JSON.stringify($sortables.nestedSortable('toHierarchy')) }; $.post(Alchemy.routes.order_admin_pages_path, params); return false; }); $('#sort_panel .button').click(Alchemy.pleaseWaitOverlay); Alchemy.PageSorter.disableButton(); }, disableButton: function() { var $buttonLink = $('#page_sorting_button a'); $buttonLink.removeAttr('onclick'); $('#page_sorting_button').addClass('active'); $buttonLink.css({ cursor: 'default' }); } } })(jQuery); ;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/.rvm/gems/ruby-2.3.0@alchemy/bundler/gems/alchemy_cms-2ced6d40b088/app/assets/javascripts/alchemy/alchemy.page_sorter.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%>ϸ_$tuNrt: lengthi:dependencies_digest"%RNﮛAdZI:XU5f9:idI"E7c128d1123cbd3f421df0dd2ae338004d8fd29c83ae1979fdbcda71a3599cb64;F: mtimel+W