mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 303916 - JS error when dragging local file over tabs. patch from Martijn Wargers <martijn.martijn@gmail.com>, r=me.
This commit is contained in:
parent
28fed71fa8
commit
672cfea312
@ -1483,7 +1483,8 @@
|
||||
<parameter name="aDragSession"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
if (aDragSession.canDrop && aDragSession.sourceNode.parentNode == this.mTabContainer) {
|
||||
if (aDragSession.canDrop && aDragSession.sourceNode &&
|
||||
aDragSession.sourceNode.parentNode == this.mTabContainer) {
|
||||
var newIndex = this.getNewIndex(aEvent);
|
||||
|
||||
var ib = this.mTabDropIndicatorBar;
|
||||
|
Loading…
Reference in New Issue
Block a user