mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 371067 - Cannot switch channels on recent trunk builds
r=silver@warwickcompsoc.co.uk (James Ross) ChatZilla Only.
This commit is contained in:
parent
9e3a08dcad
commit
9d29460385
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user