center dialog on the screen, coder=ben, r=morse

This commit is contained in:
morse%netscape.com 2000-02-04 05:49:33 +00:00
Родитель 988bb610b4
Коммит 7d11612c9f
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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();
}