Bug 264102 Chrome should use document.title instead of window.title - various fixes (inspector,pki)

p=gandalf@firefox.pl r/sr=neil.parkwaycc.co.uk
This commit is contained in:
bugzilla%arlen.demon.co.uk 2004-11-23 23:00:20 +00:00
parent 9cdd9d76e9
commit e0d86fa9f6
2 changed files with 2 additions and 3 deletions

View File

@ -262,7 +262,7 @@ InspectorApp.prototype =
var idx = this.getSelectedSearchIndex();
var el = this.mCurrentSearch.viewItemAt(idx);
aWindow.title = this.mCurrentSearch.getItemDescription(idx);
aWindow.document.title = this.mCurrentSearch.getItemDescription(idx);
aWindow.document.getElementById("bxCenter").appendChild(el);
},

View File

@ -51,8 +51,7 @@ function onLoad()
pkiParams = window.arguments[0].QueryInterface(nsIPKIParamBlock);
dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);
var title = dialogParams.GetString(2);
window.title = title;
document.title = dialogParams.GetString(2);
var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");
var message1 = dialogParams.GetString(1);