add: if ( !gDragDropEnabled ) return;  
context: function DragOverTree ( event ){	var validFlavor = false;	var dragSession = null;	var retVal = true;	var dragService = Components.classes["component://netscape/widget/dragservice"].getService();	if ( dragService ) dragService = dragService.QueryInterface(Components.interfaces.nsIDragService);	if ( !dragService )	return(false);	dragSession = dragService.getCurrentSession();	if ( !dragSession )	return(false);	if ( dragSession.isDataFlavorSupported("moz/toolbaritem") )	validFlavor = true;	else if ( dragSession.isDataFlavorSupported("text/plain") )	validFlavor = true;	//XXX other flavors here...	// touch the attribute on the rowgroup to trigger the repaint with the drop feedback.	if ( validFlavor )	{		//XXX this is really slow and likes to refresh N times per second.		var rowGroup = event.target.parentNode.parentNode;		rowGroup.setAttribute ( "dd-triggerrepaint", 0 );		dragSession.canDrop = true;		// necessary??		retVal = false; // do not propagate message	}	return(retVal);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1c72264b37cb5e85ca0e81d4d77900a511e91e97/bookmarks.js/buggy/xpfe/components/bookmarks/resources/bookmarks.js