зеркало из https://github.com/mozilla/pjs.git
Bug 119764. JS strict warnings in pref-themes.js. Patch by Stephen Walker <walk84@yahoo.com> r=morten@nilsen.com/sr=hewitt@netscape.com
This commit is contained in:
Родитель
a921b2d295
Коммит
6746622bfa
|
@ -51,7 +51,7 @@ function Startup()
|
||||||
{
|
{
|
||||||
gData = parent.hPrefWindow.wsm.dataManager.pageData["chrome://communicator/content/pref/pref-themes.xul"];
|
gData = parent.hPrefWindow.wsm.dataManager.pageData["chrome://communicator/content/pref/pref-themes.xul"];
|
||||||
var list = document.getElementById( "skinsList" );
|
var list = document.getElementById( "skinsList" );
|
||||||
if (gData.loaded) {
|
if ("loaded" in gData && "themeIndex" in gData) {
|
||||||
list.selectedIndex = gData.themeIndex;
|
list.selectedIndex = gData.themeIndex;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче