Super DragAndGoで、現在のタブの中からドラッグされた内容のみ新しいタブで開くようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1950 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
7793710e1c
commit
ccf7687592
@ -465,7 +465,9 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
superDrag.onDrop.toSource().replace(
|
||||
/(var newTab = getBrowser\(\).addTab\([^\)]+\);)/g,
|
||||
<><![CDATA[
|
||||
TreeStyleTabService.readyToOpenChildTab(getBrowser());
|
||||
if (aDragSession.sourceNode &&
|
||||
aDragSession.sourceNode.ownerDocument.defaultView.top == getBrowser().contentWindow)
|
||||
TreeStyleTabService.readyToOpenChildTab(getBrowser());
|
||||
$1
|
||||
]]></>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user