зеркало из https://github.com/mozilla/gecko-dev.git
Bug 292496: Preferences window grows to double of its normal height in special circumstances. r=mconnor
This commit is contained in:
Родитель
205ad3b268
Коммит
c96ac4ce0a
|
@ -570,8 +570,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var paneToLoad;
|
var paneToLoad;
|
||||||
if ("arguments" in window && window.arguments[0] && document.getElementById(window.arguments[0]))
|
if ("arguments" in window && window.arguments[0] && document.getElementById(window.arguments[0]) && document.getElementById(window.arguments[0]).nodeName == "prefpane") {
|
||||||
paneToLoad = document.getElementById(window.arguments[0]);
|
paneToLoad = document.getElementById(window.arguments[0]);
|
||||||
|
this.lastSelected = paneToLoad.id;
|
||||||
|
}
|
||||||
else if (lastPane)
|
else if (lastPane)
|
||||||
paneToLoad = lastPane;
|
paneToLoad = lastPane;
|
||||||
else
|
else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче