add:  var srcDirectory = GetDirectoryFromURI(GetSelectedDirectory());   if ((srcDirectory.operations & srcDirectory.opWrite))  aDragAction.action = Components.interfaces. nsIDragService.DRAGDROP_ACTION_COPY | Components.interfaces. nsIDragService.DRAGDROP_ACTION_MOVE; else  aDragAction.action = Components.interfaces. nsIDragService.DRAGDROP_ACTION_COPY; 
context:   onDragStart: function (aEvent, aXferData, aDragAction){      aXferData.data = new TransferData();      var selectedRows = GetSelectedRows();      var selectedAddresses = GetSelectedAddresses();      aXferData.data.addDataForFlavour("moz/abcard", selectedRows);      aXferData.data.addDataForFlavour("text/x-moz-address", selectedAddresses);      aXferData.data.addDataForFlavour("text/unicode", selectedAddresses);    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2353c994b0e17c0321da3ee735ed5f0eba7bda38/abDragDrop.js/clean/mailnews/addrbook/resources/content/abDragDrop.js