mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
22879 r=bzbarsky sr=jag Download window should GetAttention when download is complete
This commit is contained in:
parent
6ca349f43f
commit
6ec1891c3e
@ -656,6 +656,9 @@ nsProgressDialog.prototype = {
|
||||
|
||||
// Fix up dialog layout (which gets messed up sometimes).
|
||||
this.dialog.sizeToContent();
|
||||
|
||||
// GetAttention to show the user that we're done
|
||||
this.dialog.getAttention();
|
||||
} else if ( this.dialog ) {
|
||||
this.dialog.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user