XPath式を改行
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6422 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
dc97cf3cc1
commit
4f65a3a9a1
@ -1262,7 +1262,10 @@ var TreeStyleTabUtils = {
|
||||
var id = aTab.getAttribute(this.kID);
|
||||
if (!id) return null; // not initialized yet
|
||||
return this.evaluateXPath(
|
||||
'preceding-sibling::xul:tab[contains(concat("|", @'+this.kCHILDREN+', "|"), "|'+id+'|")]',
|
||||
'preceding-sibling::xul:tab[contains('+
|
||||
'concat("|", @'+this.kCHILDREN+', "|"),'+
|
||||
'"|'+id+'|"'+
|
||||
')][1]',
|
||||
aTab,
|
||||
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
|
||||
).singleNodeValue;
|
||||
|
Loading…
Reference in New Issue
Block a user