複数のタブを同時に閉じる警告のダイアログに表示されるタブの数が実際に閉じられるタブの数と異なる場合があったのを修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4396 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-05-11 05:44:31 +00:00
parent 68de8b1010
commit 42a8be4202

View File

@ -460,7 +460,11 @@ TreeStyleTabBrowser.prototype = {
eval('b.warnAboutClosingTabs = '+
b.warnAboutClosingTabs.toSource().replace(
'var numTabs = ', 'var numTabs = this.__treestyletab__closedTabsNum || '
'var numTabs = ',
'var numTabs = this.__treestyletab__closedTabsNum || '
).replace(
'--tabsToClose',
'if (numTabs == this.mTabs.length) { $&; }'
)
);