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
parent 988bb610b4
commit 7d11612c9f

View File

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