зеркало из https://github.com/mozilla/gecko-dev.git
bug 204251 - mail list dialog jumps when opened. r/sr=sspitzer,a=asa
This commit is contained in:
Родитель
09b70aa462
Коммит
2b09d219aa
|
@ -320,6 +320,8 @@ function OnLoadEditList()
|
|||
|
||||
document.addEventListener("keypress", awDocumentKeyPress, true);
|
||||
|
||||
moveToAlertPosition();
|
||||
|
||||
// workaround for bug 118337 - for mailing lists that have more rows than fits inside
|
||||
// the display, the value of the textbox inside the new row isn't inherited into the input -
|
||||
// the first row then appears to be duplicated at the end although it is actually empty.
|
||||
|
@ -336,8 +338,6 @@ function AppendLastRow()
|
|||
var listName = document.getElementById('ListName');
|
||||
if ( listName )
|
||||
listName.focus();
|
||||
|
||||
moveToAlertPosition();
|
||||
}
|
||||
|
||||
function AppendNewRowAndSetFocus()
|
||||
|
|
Загрузка…
Ссылка в новой задаче