Sha256: e1a04c58e281a950da8e29b168cc841a566ca641f7ae85ecdf3fedb9ed75f9f8
Contents?: true
Size: 592 Bytes
Versions: 30
Compression:
Stored size: 592 Bytes
Contents
#= require jquery #= require jquery_ujs #= require jquery-ui #= require notify #= require jquery.sticky $(document).ready -> $(".btn.toggle-delete").on "click", (e) -> button = $(this) links = $("[data-method='delete']") if button.hasClass("showing") links.hide "fast" button.removeClass "showing" else links.show "fast" button.addClass "showing" fixHelper = (e, ui) -> ui.children().each -> self = $ @ self.width self.width() ui $("tbody.sortable").sortable({ axis: 'y', items: 'tr', helper: fixHelper, handle: '.handle' })
Version data entries
30 entries across 30 versions & 1 rubygems