Drag de Goで、他のウィンドウからのドロップは子タブにしないようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1949 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-02-28 06:52:42 +00:00
parent d88c432de1
commit 7793710e1c

View File

@ -478,7 +478,8 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
ddg_ges.Open.toSource().replace(
'if (mode[1] == "h" || mode[1] == "f") {',
<><![CDATA[$&
TreeStyleTabService.readyToOpenChildTab(getBrowser());
if ('sourceNode' in aData) // only for dragging from the content tarea.
TreeStyleTabService.readyToOpenChildTab(getBrowser());
]]></>
)
);
@ -486,7 +487,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
ddg_ges.Search.toSource().replace(
'if (mode[1] == "h" || mode[1] == "f") {',
<><![CDATA[$&
TreeStyleTabService.readyToOpenChildTab(getBrowser());
TreeStyleTabService.readyToOpenChildTab(getBrowser());
]]></>
)
);