タブをタブバーの空き領域にドロップできなくなっていたのを修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3281 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-11-07 04:58:37 +00:00
parent 38c1ac7988
commit 3bfd96806b

View File

@ -932,7 +932,8 @@ try{
tab.parentNode != aSelf.mTabContainer)
return true;
if (TSTTabBrowser.treeStyleTab.getTabFromEvent(aEvent).getAttribute(TreeStyleTabService.kCOLLAPSED) == 'true')
tab = TSTTabBrowser.treeStyleTab.getTabFromEvent(aEvent);
if (tab && tab.getAttribute(TreeStyleTabService.kCOLLAPSED) == 'true')
return false;
var info = TSTTabBrowser.treeStyleTab.getDropAction(aEvent, TST_DRAGSESSION);