Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Update profile sidebar order
- $('.psort-list').sortable({
- items: '.list_item',
- opacity: 0.6,
- cursor: 'move',
- axis: 'y',
- update: function() {
- var order = $(this).sortable('serialize') + '&action=psort_update_order';
- $.post(ajaxurl, order, function(response) {
- // possibly add a notification
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement