зеркало из https://github.com/mozilla/gecko-dev.git
center dialog on the screen, coder=ben, r=morse
This commit is contained in:
Родитель
988bb610b4
Коммит
7d11612c9f
|
@ -46,6 +46,7 @@ function selectDialogOnLoad()
|
|||
}
|
||||
|
||||
var windowTitle = param.GetString( 0 );
|
||||
dump("title: "+ windowTitle +"\n");
|
||||
window.title = windowTitle;
|
||||
|
||||
listBox = document.getElementById("list");
|
||||
|
@ -67,6 +68,7 @@ function selectDialogOnLoad()
|
|||
// Move to the right location
|
||||
moveToAlertPosition();
|
||||
param.SetInt(0, 1 );
|
||||
centerWindowOnScreen();
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче