diff options
author | spag <spag@golwen.net> | 2013-02-04 13:11:10 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-04 13:11:10 +0100 |
commit | 48e32b241d422a676b3e977dd1af3688f7ebe63d (patch) | |
tree | eb658714cdfd4f46fb805e770c3a0bc975014ee6 /app/assets/javascripts/softkey.js.coffee | |
parent | 242470bdb4fa67780e7467c6889b7869dff05d1c (diff) | |
parent | 049b3e62c2ad3e0affac17214baa38afb994b6ba (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/assets/javascripts/softkey.js.coffee')
-rw-r--r-- | app/assets/javascripts/softkey.js.coffee | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/softkey.js.coffee b/app/assets/javascripts/softkey.js.coffee new file mode 100644 index 0000000..19103f0 --- /dev/null +++ b/app/assets/javascripts/softkey.js.coffee @@ -0,0 +1,6 @@ +jQuery -> + $("table tbody").sortable + axis: 'y' + handle: '.handle' + update: -> + $.post('/softkeys/sort', $(this).sortable('serialize'))
\ No newline at end of file |