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