Sha256: 130429267fb594d9de59f5396c65b284bd1559039dbb278fce11d93b16279f30
Contents?: true
Size: 784 Bytes
Versions: 1
Compression:
Stored size: 784 Bytes
Contents
$(function(){ //Sortable Labels $('#labels').sortable({ axis: 'y', handle: ".handle", update: function(e, ui){ url = $("ol#labels").data('update_url') $.post(url, $(this).sortable('serialize')) } }); $(".collapsible").collapsiblePanel({ collapsedImage: "<%= image_path 'fassets_core/collapsed.png' %>", expandedImage: "<%= image_path 'fassets_core/collapse.png' %>", titleQuery: "h2.title", startCollapsed: true }); $(".label > input[type=checkbox]").live("click",function() { $(this).parents("form").submit(); }); // hide the submit button if JS is enabled (form can be submited by checking the boxes) $("form.edit_classification input[type=submit][value=Save]").hide(); $('.best_in_place').best_in_place(); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fassets_core-0.4.0 | app/assets/javascripts/fassets_core/facets.js.erb |