зеркало из https://github.com/mozilla/pjs.git
added check for no 5.x profiles, fix "select null" problem, r=hyatt@netscape.com
This commit is contained in:
Родитель
cdaa9d2fd6
Коммит
d1377ca3ee
|
@ -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 );
|
||||
|
|
Загрузка…
Ссылка в новой задаче