summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/softkey.js.coffee
blob: 19103f02361259faeb0a2b316f4c57ede375b898 (plain)
1
2
3
4
5
6
jQuery ->
  $("table tbody").sortable
    axis: 'y'
    handle: '.handle'
    update: ->
      $.post('/softkeys/sort', $(this).sortable('serialize'))