зеркало из https://github.com/mozilla/pjs.git
Bug 92933 - correct tab selection
r=rginda chatzilla only
This commit is contained in:
Родитель
121c808443
Коммит
431e06f1ad
|
@ -1653,7 +1653,7 @@ function setCurrentObject (obj)
|
|||
}
|
||||
if (tb)
|
||||
{
|
||||
tb.setAttribute ("selected", "false");
|
||||
tb.selected = false;
|
||||
tb.setAttribute ("state", "normal");
|
||||
}
|
||||
|
||||
|
@ -1676,7 +1676,7 @@ function setCurrentObject (obj)
|
|||
tb = getTabForObject(obj);
|
||||
if (tb)
|
||||
{
|
||||
tb.setAttribute ("selected", "true");
|
||||
tb.selected = true;
|
||||
tb.setAttribute ("state", "current");
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче