This commit is contained in:
Piro / SHIMODA Hiroshi 2011-05-28 09:18:44 +09:00
parent b80e90091f
commit 7b7c7ba5e8

View File

@ -840,15 +840,9 @@ catch(e) {
onDragLeave : function TabbarDND_onDragLeave(aEvent)
{
var sv = this.treeStyleTab;
var b = this.browser;
var w = this.window;
var tabbarFromEvent = sv.getTabbarFromChild(aEvent.relatedTarget);
if (!tabbarFromEvent)
this.clearDropPosition();
w.clearTimeout(this.mAutoExpandTimer);
this.window.clearTimeout(this.mAutoExpandTimer);
this.mAutoExpandTimer = null;
},
@ -975,11 +969,6 @@ try{
}
}
if (!info.target || info.target != sv.evaluateXPath(
'child::xul:tab[@'+sv.kDROP_POSITION+']',
b.mTabContainer,
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
).singleNodeValue)
this.clearDropPosition();
if (