タイトルがないページではURIを使う

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4861 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-31 07:24:38 +00:00
parent 00dab2f8a0
commit e29ffbc5a5

View File

@ -186,7 +186,7 @@ var TreeStyleTabBookmarksService = {
'id: aNodes[i].itemId, $&'
).replace(
/(this\._openTabset\([^\)]+)(\))/,
'$1, aNodes[0].title$2'
'$1, aNodes.map(function(aNode) { return aNode.title || aNode.uri.spec; }).join(", ")$2'
)
);
},