summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/switchboard_entry.js.coffee
blob: d14825e702f04b9f7f2af90fe8a57c56f06bac81 (plain)
1
2
3
4
5
6
jQuery ->
  $('#switchboard_entries').sortable
    axis: 'y'
    handle: '.handle'
    update: ->
      $.post($(this).data('update-url'), $(this).sortable('serialize'))