rem: return(false); 
add: return false; 
context: function BeginDrag( event){  top.dragStart = false;  var tree = document.getElementById("fieldList");  if ( event.target == tree ) {    return( true);          // continue propagating the event    }  if (!tree) {    return( false);  }  var dragService = Components.classes["@mozilla.org/widget/dragservice;1"].getService();  if ( dragService ) dragService = dragService.QueryInterface(Components.interfaces.nsIDragService);  if ( !dragService ) {    return(false);  }  var trans = Components.classes["@mozilla.org/widget/transferable;1"].createInstance();  if ( trans ) trans = trans.QueryInterface(Components.interfaces.nsITransferable);  if ( !trans ) {    return(false);  }  var genData = Components.classes["@mozilla.org/supports-wstring;1"].createInstance();  if ( genData ) genData = genData.QueryInterface(Components.interfaces.nsISupportsWString);  if (!genData) {    return(false);  }    // trans.addDataFlavor( "text/unicode");    trans.addDataFlavor( top.transferType);  // the index is on the <treeitem> which is two levels above the <treecell> which is  // the target of the event.  if (event.target.getAttribute( 'noDrag') == "true") {    return( false);  }  var index = event.target.parentNode.parentNode.getAttribute("field-index");  if (!index)    index = event.target.parentNode.parentNode.parentNode.getAttribute( "field-index");  if (!index)    return( false);  var indexStr = ("" + index);  genData.data = indexStr;  // trans.setTransferData ( "text/unicode", genData, indexStr.length * 2);  trans.setTransferData ( top.transferType, genData, indexStr.length * 2);  var transArray = Components.classes["@mozilla.org/supports-array;1"].createInstance();  if ( transArray ) transArray = transArray.QueryInterface(Components.interfaces.nsISupportsArray);  if ( !transArray )  {    return(false);  }  // put it into the transferable as an |nsISupports|  var genTrans = trans.QueryInterface(Components.interfaces.nsISupports);  transArray.AppendElement(genTrans);  var nsIDragService = Components.interfaces.nsIDragService;  top.dragStart = true;  dragService.invokeDragSession ( event.target, transArray, null, nsIDragService.DRAGDROP_ACTION_MOVE);  return( false);  // don't propagate the event if a drag has begun}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d08d4d3f9753b01573c0820f3dc3010c62295d11/fieldMapImport.js/clean/mailnews/import/resources/content/fieldMapImport.js