jquery désactiver sortable

Je veux désactiver le tri des source_element .comment puis-je le faire?

function dropMembers(){
$("ul.present").sortable({
connectWith: 'ul',
containment: 'window',
items: 'li:not(.notSortable)'
});
$("ul.usrlist").sortable({
connectWith: 'ul',
dropOnEmpty: true,
containment: 'window',
update: function(event, ui) {
//Element ready to be dropped to new place
source_element = $(ui.item).attr("id");
alert(source_element);
source_element1=source_element.split('_');
alert(source_element1);
if(source_element[1]==GLOBAL_MY_ID){
//I want to disable sorting of source_element here
}
//here is your selected item  }
}
//            sort: function(event, ui) {
//            var usr_result=$("ul.usr").sortable('toArray');
//            //alert(ui.sortable);
//           }
});
$("#MAIN_USER_LIST,#USER_PRESENT_LIST").disableSelection();
}
InformationsquelleAutor | 2009-08-29