added check for no 5.x profiles, fix "select null" problem, r=hyatt@netscape.com

This commit is contained in:
ben%netscape.com 2000-01-27 23:57:21 +00:00
parent 8c541c41a0
commit 3f3d166d9d

View File

@ -48,6 +48,8 @@ function highlightCurrentProfile()
{
try {
var currentProfile = profile.currentProfile;
if( !currentProfile )
return;
var currentProfileItem = document.getElementById( ( "profileName_" + currentProfile ) );
var profileList = document.getElementById( "profiles" );
profileList.selectItem( currentProfileItem );