Open bookmarks as tabs correctly when a bookmark folder is dropped to the tab bar even if the folder includes any subfolder.

This commit is contained in:
Piro / SHIMODA Hiroshi 2012-08-03 01:55:06 +09:00
parent 8b5a200583
commit 4f73a9861d

View File

@ -243,7 +243,10 @@ var TreeStyleTabBookmarksService = {
'$& var ids = [];'
).replace(
'urls.push(item.uri);',
'$& ids.push(item.id);'
'if (item.uri) { $& ids.push(item.id); }'
).replace(
'this.markPageAsTyped(item.uri);',
'if (item.uri) { $& }'
).replace(
/(browserWindow\.(?:getBrowser\(\)|gBrowser)\.loadTabs\([^;]+\);)/,
<![CDATA[