SHARE
TWEET

Untitled

a guest May 11th, 2012 32 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. // Update profile sidebar order
  3. $('.psort-list').sortable({
  4.         items: '.list_item',
  5.         opacity: 0.6,
  6.         cursor: 'move',
  7.         axis: 'y',
  8.         update: function() {
  9.                 var order = $(this).sortable('serialize') + '&action=psort_update_order';
  10.                 $.post(ajaxurl, order, function(response) {
  11.                         // possibly add a notification
  12.                 });
  13.         }
  14.        
  15. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top