rem: $("#apply").show(); $("#cancel").show(); $(this).parent().insertion(quoi,$(dropped).parent().id()); 
add: jQuery("#apply").show(); jQuery("#cancel").show(); jQuery(this).parent().insertion(quoi,jQuery(dropped).parent().attr('id')); 
context: jQuery.fn.set_droppables = function(){	$('span.holder',$(this)).Droppable(		{			accept			: 'treeItem',			hoverclass		: 'none',			activeclass		: 'fakeClass',			tollerance		: 'intersect',			onhover			: function(dragged)			{				$(this).parent().addClass('selected');				if (!this.expanded) {					subbranch = $(this).siblings('ul').eq(0);					if (subbranch.is(':hidden')){						subbranch.pause(1000).deplie();						this.expanded = true;					}				}			},			onout			: function()			{				$(this).parent().removeClass('selected');				if (this.expanded){					subbranch = $(this).siblings('ul').eq(0);					subbranch.unpause();					if (recall){						recall=false;					}				}				this.expanded = false;			},			ondrop			: function(dropped)			{				$(this).parent().removeClass('selected');				subbranch = $(this).siblings('ul').eq(0);				if (this.expanded)					subbranch.unpause();				var target=$(this).parent().id();				var quoi=$(dropped).id();				var source=$(dropped).parent().parent().id(); // il faut stocker l'id du li car le ul peut avoir disparu au moment du cancel				action=quoi+":"+target+":"+source;				var dep = $("#deplacements");				dep.html(dep.text()+"\n"+action);				$("#apply").show();				$("#cancel").show();				$(this).parent().insertion(quoi,$(dropped).parent().id());			}		}	);	$('li.treeItem',$(this)).Draggable(		{			revert		: true,			ghosting : true,			autoSize : true		}	);}
meta: 207	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/207/2a412036f3c5a2b3a80f77365766e10a2029938f/articles_tous_edite.js/clean/dist/javascript/articles_tous_edite.js