create a draggable element that initially he disabled.
$('.selector').draggable({
revert:true,
disabled: true,
proxy: .....
.......
});
if the 'disabled == true', $.data(this, "draggable") is empty, see fragment of code:
if(_32.disabled==true){
$(this).css("cursor","");
return;
}
var _34=null;
if(typeof _32.handle=="undefined"||_32.handle==null){
_34=$(this);
}else{
_34=(typeof _32.handle=="string"?$(_32.handle,this):_32.handle);
}
$.data(this,"draggable",{options:_32,handle:_34});
then I make it enabled, event handlers and proxy need to be defined again