Use the right window object -- unbreaks "Launch" button on progress dialog.
Final bits of bug 91969, r=timeless, sr=jag git-svn-id: svn://10.0.0.236/trunk@141008 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -494,7 +494,7 @@ nsProgressDialog.prototype = {
|
||||
var dontaskmsg = this.getProperty( "dontAskAgain",
|
||||
[ ], 0 );
|
||||
var checkbox = {value:0};
|
||||
var okToProceed = promptService.confirmCheck(window, title, msg, dontaskmsg, checkbox);
|
||||
var okToProceed = promptService.confirmCheck(this.dialog, title, msg, dontaskmsg, checkbox);
|
||||
try {
|
||||
if (checkbox.value != dontAskAgain)
|
||||
pref.setBoolPref(kDontAskAgainPref, checkbox.value);
|
||||
|
||||
Reference in New Issue
Block a user