зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
21163926bb
Коммит
da0c59aee0
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче