ツールチップでエラーが起こることがあった

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5530 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-12-17 08:47:02 +00:00
parent cbf93eda6f
commit d19b96830f

View File

@ -444,7 +444,8 @@ TreeStyleTabBrowser.prototype = {
b.createTooltip.toSource().replace(
'if ("mOverCloseButton" in tn && tn.mOverCloseButton) {',
<![CDATA[
if (TreeStyleTabService.getTabBrowserFromChild(tn).treeStyleTab.handleTooltip(event, tn)) {
if (TreeStyleTabService.getTabBrowserFromChild(tn) &&
TreeStyleTabService.getTabBrowserFromChild(tn).treeStyleTab.handleTooltip(event, tn)) {
return true;
}
else $&]]>