bug 297005 - regression in dragging files to tab bar, r+a=bsmedberg

This commit is contained in:
mconnor@steelgryphon.com 2007-08-21 22:00:13 -07:00
parent c538d41392
commit a1a111453c

View File

@ -1453,7 +1453,7 @@
<parameter name="aDragSession"/>
<body>
<![CDATA[
if (aDragSession.sourceNode.parentNode == this.mTabContainer) {
if (aDragSession.sourceNode && aDragSession.sourceNode.parentNode == this.mTabContainer) {
var newIndex = this.getNewIndex(aEvent);
if (newIndex > aXferData.data)
newIndex--;