make helper app dialog set its title using window.title, not setAttribute, since

only the former now works in an onload handler
261267 r=neil sr=bz a=asa
This commit is contained in:
cbiesinger%web.de 2004-09-25 23:54:52 +00:00
parent 1d4dec5435
commit 3645952af1

View File

@ -257,7 +257,7 @@ nsHelperAppDialog.prototype = {
this.mTitle = this.replaceInsert( win.getAttribute( "title" ), 1, fname);
win.setAttribute( "title", this.mTitle );
this.mDialog.title = this.mTitle;
// Put content type, filename and location into intro.
this.initIntro(url, fname);