fix profile manager window.title switching

git-svn-id: svn://10.0.0.236/trunk@68027 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ben%netscape.com 2000-05-03 03:10:56 +00:00
parent 62465de378
commit 59e6f822b7

View File

@ -184,7 +184,7 @@ function SwitchProfileManagerMode()
try {
captionLine = bundle.GetStringFromName( "pm_title" ); // get manager's caption
} catch(e) {
captionLine = "Manage Profiles Yah";
captionLine = "Manage Profiles *";
}
var manage = document.getElementById( "manage" ); // hide the manage profiles button...
@ -197,7 +197,7 @@ function SwitchProfileManagerMode()
try {
captionLine = bundle.GetStringFromName( "ps_title" );
} catch(e) {
captionLine = "Select Profile Yah";
captionLine = "Select Profile *";
}
profileManagerMode = "selection";
}
@ -217,6 +217,7 @@ function ChangeCaption( aCaption )
{
var caption = document.getElementById( "header" );
caption.setAttribute( "value", aCaption );
window.title = aCaption;
}
// do button enabling based on tree selection