rem: dragSession = dragService.getCurrentSession(); if ( !dragSession ) return(false);  if ( dragSession.isDataFlavorSupported( top.transferType) ) validFlavor = true;   if (event.target == document.getElementById( "fieldBody")) return( false);  
add: if ( dragSession.isDataFlavorSupported( top.transferType) ) validFlavor = true;  if (event.target == document.getElementById( "fieldBody")) return;  
context: function DragOverTree( event){  if (!top.dragStart)    return( false);  var validFlavor = false;  var dragSession = null;  var retVal = true;  var dragService = Components.classes["@mozilla.org/widget/dragservice;1"].getService();  if ( dragService ) dragService = dragService.QueryInterface(Components.interfaces.nsIDragService);  if ( !dragService ) return(false);  dragSession = dragService.getCurrentSession();  if ( !dragSession ) return(false);  if ( dragSession.isDataFlavorSupported( top.transferType) ) validFlavor = true;  // if ( dragSession.isDataFlavorSupported( "text/unicode") )  validFlavor = true;  if (event.target == document.getElementById( "fieldBody")) return( false);  // 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: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d08d4d3f9753b01573c0820f3dc3010c62295d11/fieldMapImport.js/buggy/mailnews/import/resources/content/fieldMapImport.js