mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
bug 297005 - regression in dragging files to tab bar, r+a=bsmedberg
This commit is contained in:
parent
c538d41392
commit
a1a111453c
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user