mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
added check for no 5.x profiles, fix "select null" problem, r=hyatt@netscape.com
This commit is contained in:
parent
8c541c41a0
commit
3f3d166d9d
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user