mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
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:
parent
1d4dec5435
commit
3645952af1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user