rem: if (! flavourList || flavourList.length < 1) return;  var trans = nsTransferable.set(flavourList); trans = trans ? trans.QueryInterface(Components.interfaces.nsISupports) : trans; 
add: if (!transferData.data) return; transferData = transferData.data;  
context:   startDrag: function (aEvent, aDragDropObserver)    {      var flavourList = null;      if (aDragDropObserver.onDragStart)        {          try             {              flavourList = aDragDropObserver.onDragStart(aEvent);            }          catch (e)            {              return; // not a draggable item, bail!            }        }      if (! flavourList || flavourList.length < 1)        return;      var trans = nsTransferable.set(flavourList);      trans = trans ? trans.QueryInterface(Components.interfaces.nsISupports) : trans;      var transArray = nsJSSupportsUtils.createSupportsArray();      transArray.AppendElement(trans);            var dragServiceIID = Components.interfaces.nsIDragService;      this.mDragService.invokeDragSession(aEvent.target, transArray, null,                                           dragServiceIID.DRAGDROP_ACTION_COPY + dragServiceIID.DRAGDROP_ACTION_MOVE + dragServiceIID.DRAGDROP_ACTION_LINK);      aEvent.preventBubble();    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3cc7841386df7eae0f49c9d3463910fd141a9438/nsDragAndDrop.js/clean/xpfe/global/resources/content/nsDragAndDrop.js