rem: dragService.invokeDragSession ( event.target, transArray, null, nsIDragService.DRAGDROP_ACTION_COPY + 
add: dragService.invokeDragSession ( event.target, transArray, region, nsIDragService.DRAGDROP_ACTION_COPY + 
context: function BeginDragOutliner(event, outliner, flavor){    if (event.target == outliner) {		return(true); // continue propagating the event    }    if (!outliner) {        return(false);    }    var dragStarted = false;    var transArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);    if ( !transArray ) return(false);    var selArray = GetSelectedMessages();    var count = selArray.length;    debugDump("selArray.length = " + count + "\n");    for ( var i = 0; i < count; ++i ) {        var trans = Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable);        if (!trans) return(false);        var genTextData = Components.classes["@mozilla.org/supports-wstring;1"].createInstance(Components.interfaces.nsISupportsWString);        if (!genTextData) return(false);        trans.addDataFlavor(flavor);        // get id (url)        var id = selArray[i];        genTextData.data = id;        debugDump("    ID #" + i + " = " + id + "\n");        trans.setTransferData ( flavor, genTextData, id.length * 2 );  // doublebyte byte data        // put it into the transferable as an |nsISupports|        var genTrans = trans.QueryInterface(Components.interfaces.nsISupports);        transArray.AppendElement(genTrans);    }    var nsIDragService = Components.interfaces.nsIDragService;    dragService.invokeDragSession ( event.target, transArray, null, nsIDragService.DRAGDROP_ACTION_COPY +    nsIDragService.DRAGDROP_ACTION_MOVE );    dragStarted = true;    return(!dragStarted);  // don't propagate the event if a drag has begun}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/db83302f3e0f586ded3339a3983bfc1cfea80167/messengerdnd.js/buggy/mailnews/base/resources/content/messengerdnd.js