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