jQuery.Drag.prototype.revert  function     

Makes the movingElement go back to its original position after drop.

".handle dragend" : function( el, ev, drag ) {
   drag.revert()
}
drag.revert(val) -> undefined
{optional:Boolean}

optional, set to false if you don't want to revert.

{undefined}
© Jupiter IT - JavaScriptMVC Training and Support