jQuery Draggable plugin integration with Views 3 I want draggable and sortable contents by admin. So, installed jQuery UI and put this code in my main.js:

$(function() {
    $( ".panels-flexible-region" ).sortable({
      revert: true
    });
    $( "#makyaj .views-row" ).draggable({
      connectToSortable: ".panels-flexible-region",
      helper: "clone",
      revert: "invalid"
    });
    $( "ul, li" ).disableSelection();
  });


Yes, it works. But i want use this option only admin user. Whether View Sort Type: Jquery Draggable and qhat sets the admin users so they can see it.

Is it possible? Can i integration Views and jQuery UI Draggable?
I know this isn't exactly what you asked for, but have you considered using the draggable views module? It does what you aim to do without you having to code anything.