Bug 295275 - Verify we have a tree view before setting things on it, fixes floating/unfloating views losing their contents. r=gijskruitbosch+bugs@gmail.com (Gijs Kruitbosch) Venkman Only (NPOTB)

This commit is contained in:
silver%warwickcompsoc.co.uk 2007-09-05 10:45:29 +00:00
Родитель 21163926bb
Коммит da0c59aee0
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -146,10 +146,8 @@ function syncTreeView (treeContent, treeView, cb)
throw "tantrum";
treeContent.treeBoxObject.view = treeView;
if (treeView.selection)
{
if (treeView && treeView.selection)
treeView.selection.tree = treeContent.treeBoxObject;
}
}
catch (ex)
{