rem: var srcDirectory = GetDirectoryFromURI(srcURI); 
add: for (var j = 0; j < rows.length; j++) { if (abView.getCardFromRow(rows[j]).isMailList) { draggingMailList = true; break; } } } 
context:     canDrop: function(index, orientation)    {      if (orientation != Components.interfaces.nsITreeView.DROP_ON)        return false;      var targetResource = dirTree.builderView.getResourceAtIndex(index);      var targetURI = targetResource.Value;      var srcURI = GetSelectedDirectory();      if (targetURI == srcURI)        return false;      var srcDirectory = GetDirectoryFromURI(srcURI);      var dragSession = dragService.getCurrentSession();      if (!dragSession)        return false;      // Only allow copy from read-only directories.      if (!(srcDirectory.operations & srcDirectory.opWrite) &&          dragSession.dragAction != Components.interfaces.                                    nsIDragService.DRAGDROP_ACTION_COPY)        return false;      // determine if we dragging from a mailing list on a directory x to the parent (directory x).      // if so, don't allow the drop      var result = srcURI.split(targetURI);      if (result != srcURI)         return false;      // check if we can write to the target directory       // LDAP is readonly      var targetDirectory = GetDirectoryFromURI(targetURI);      return (targetDirectory.isMailList ||              (targetDirectory.operations & targetDirectory.opWrite));    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/cccab4cf0c09f0798c9f64304fb02c5b383ce63c/abDragDrop.js/clean/mailnews/addrbook/resources/content/abDragDrop.js