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:
mozilla.mano%sent.com 2005-10-15 05:47:54 +00:00
parent 28fed71fa8
commit 672cfea312

View File

@ -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;