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