Bug 371067 - Cannot switch channels on recent trunk builds

r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@220935 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gijskruitbosch%gmail.com 2007-02-26 18:35:31 +00:00
parent f1d4462c5c
commit 9aaeb10115

View File

@ -2818,10 +2818,7 @@ function setCurrentObject (obj)
tb = getTabForObject(co);
}
if (tb)
{
tb.selected = false;
tb.setAttribute ("state", "normal");
}
tb.setAttribute("state", "normal");
/* Unselect currently selected users.
* If the splitter's collapsed, the userlist *isn't* visible, but we'll not
@ -2856,8 +2853,8 @@ function setCurrentObject (obj)
tb = dispatch("create-tab-for-view", { view: obj });
if (tb)
{
tb.selected = true;
tb.setAttribute ("state", "current");
tb.parentNode.selectedItem = tb;
tb.setAttribute("state", "current");
}
var vk = Number(tb.getAttribute("viewKey"));