タブバー上のツールバーボタンのドラッグによるタブバーの移動ができなくなっていたのを修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6626 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
5c2176530e
commit
e477eadacb
@ -802,7 +802,9 @@ var TreeStyleTabUtils = {
|
|||||||
getTabbarFromChild : function TSTUtils_getTabbarFromChild(aNode)
|
getTabbarFromChild : function TSTUtils_getTabbarFromChild(aNode)
|
||||||
{
|
{
|
||||||
return this.evaluateXPath(
|
return this.evaluateXPath(
|
||||||
'ancestor-or-self::*[contains(concat(" ", normalize-space(@class), " "), " tabbrowser-strip ") or (local-name()="tabs" and @tabbrowser)]',
|
'ancestor-or-self::*[contains(concat(" ", normalize-space(@class), " "), " tabbrowser-strip ")] | '+
|
||||||
|
'ancestor-or-self::xul:tabs[@tabbrowser] | ' +
|
||||||
|
'ancestor-or-self::xul:toolbar[@id="TabsToolbar"]/child::xul:tabs[@tabbrowser]',
|
||||||
aNode,
|
aNode,
|
||||||
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
|
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
|
||||||
).singleNodeValue;
|
).singleNodeValue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user