タイトルがないページではURIを使う
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4861 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
00dab2f8a0
commit
e29ffbc5a5
@ -186,7 +186,7 @@ var TreeStyleTabBookmarksService = {
|
|||||||
'id: aNodes[i].itemId, $&'
|
'id: aNodes[i].itemId, $&'
|
||||||
).replace(
|
).replace(
|
||||||
/(this\._openTabset\([^\)]+)(\))/,
|
/(this\._openTabset\([^\)]+)(\))/,
|
||||||
'$1, aNodes[0].title$2'
|
'$1, aNodes.map(function(aNode) { return aNode.title || aNode.uri.spec; }).join(", ")$2'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user