Sortable.pause=function (element){ var s = Sortable.options(element); if(s){ Draggables.removeObserver(s.element); s.draggables.each(function(d){ Event.stopObserving(d.handle, "mousedown", d.eventMouseDown) }); } } Sortable.play=function (element){ var s = Sortable.options(element); if(s){ Draggables.removeObserver(s.element); s.draggables.each(function(d){ Event.observe(d.handle, "mousedown", d.eventMouseDown) }); Draggables.addObserver(new SortableObserver(element, function() { var arrPosts=compilAjxDts(-1); arrPosts["tri"]=-1; var callbackIfOk=null; ajaxHelper("ajx.php",arrPosts,callbackIfOk,callbackIfFailure=null,callbackIfTryOut=null,callbackIfRetry=null,callbackIfStatusChange=null); })); } }