Bug 851489 - Delay restarting the browser until the preferences dialog elements are completely updated. r=ehsan

This commit is contained in:
Josh Matthews 2013-03-17 11:04:55 -04:00
parent 83eb925da1
commit cf0c67d5a3
2 changed files with 2 additions and 0 deletions

View File

@ -277,6 +277,7 @@ var gPrivacyPane = {
shouldProceed = !cancelQuit.data;
if (shouldProceed) {
pref.value = autoStart.hasAttribute('checked');
document.documentElement.acceptDialog();
let appStartup = Cc["@mozilla.org/toolkit/app-startup;1"]
.getService(Ci.nsIAppStartup);

View File

@ -280,6 +280,7 @@ var gPrivacyPane = {
shouldProceed = !cancelQuit.data;
if (shouldProceed) {
pref.value = autoStart.hasAttribute('checked');
document.documentElement.acceptDialog();
let appStartup = Cc["@mozilla.org/toolkit/app-startup;1"]
.getService(Ci.nsIAppStartup);