From f3ced4fe5692a7d1a3bea477c7cab7de0fb5ba1e Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 5 Feb 2010 02:12:01 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E7=A7=BB=E5=8B=95=E6=99=82=E3=81=AB=E4=BE=8B=E5=A4=96=E3=81=8C?= =?UTF-8?q?=E7=99=BA=E7=94=9F=E3=81=97=E3=81=A6=E3=81=84=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6262 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser_tabpanelDNDObserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletabbrowser_tabpanelDNDObserver.js b/content/treestyletab/treestyletabbrowser_tabpanelDNDObserver.js index f979c203..b19dc2d5 100644 --- a/content/treestyletab/treestyletabbrowser_tabpanelDNDObserver.js +++ b/content/treestyletab/treestyletabbrowser_tabpanelDNDObserver.js @@ -30,7 +30,7 @@ TreeStyleTabBrowserTabpanelDNDObserver.prototype = { if (position != 'center' && position != sv.mTabBrowser.getAttribute(sv.kTABBAR_POSITION)) { if (sv.getTreePref('tabbar.fixed.autoCancelOnDrop') && - aXferData.data != sv.kTABBAR_MOVE_FORCE) { + (!aXferData || aXferData.data != sv.kTABBAR_MOVE_FORCE)) { let orient = (position == 'left' || position == 'right') ? 'vertical' : 'horizontal' ; sv.setTreePref('tabbar.fixed.'+orient, false); }