3.7a4preでブックマークをツリーで開けなくなっていた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6473 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-03-26 16:12:45 +00:00
parent e5b237456a
commit 96e5a804ff

View File

@ -181,7 +181,7 @@ var TreeStyleTabBookmarksService = {
init : function TSTBMService_init() init : function TSTBMService_init()
{ {
window.removeEventListener('load', this, false); window.removeEventListener('load', this, false);
if (!('PlacesUIUtils' in window)) return; if (!('PlacesUIUtils' in window)) return;
eval('PlacesUIUtils._openTabset = '+ eval('PlacesUIUtils._openTabset = '+
@ -195,7 +195,7 @@ var TreeStyleTabBookmarksService = {
'urls.push(item.uri);', 'urls.push(item.uri);',
'$& ids.push(item.id);' '$& ids.push(item.id);'
).replace( ).replace(
/(browserWindow\.getBrowser\(\)\.loadTabs\([^;]+\);)/, /(browserWindow\.(?:getBrowser\(\)|gBrowser)\.loadTabs\([^;]+\);)/,
<![CDATA[ <![CDATA[
if ( if (
where.indexOf('tab') == 0 || where.indexOf('tab') == 0 ||