Bug 749672 - Focus Cancel by default in the “Reset Firefox” (resetProfileAndRestart) button’s dialog of about:support. r=unfocused
authorDrew Willcoxon <adw@mozilla.com>
Tue, 26 Mar 2013 10:43:49 -0700
changeset 126253 3c41ff7181dbd4bc44bebde8efac9568662ea015
parent 126252 ab7902d65bab078c55b64796af3a317dfbc33c99
child 126254 8fae91631621815001da93e5cdfde628b2c51b6b
push id25379
push userdwillcoxon@mozilla.com
push dateTue, 26 Mar 2013 17:44:29 +0000
treeherdermozilla-inbound@74ca9737e076 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersunfocused
bugs749672
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 749672 - Focus Cancel by default in the “Reset Firefox” (resetProfileAndRestart) button’s dialog of about:support. r=unfocused
toolkit/content/resetProfile.xul
--- a/toolkit/content/resetProfile.xul
+++ b/toolkit/content/resetProfile.xul
@@ -13,16 +13,17 @@
 
 <?xml-stylesheet href="chrome://global/skin/"?>
 <?xml-stylesheet href="chrome://global/content/resetProfile.css"?>
 
 <dialog id="resetProfileDialog"
             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
             title="&resetProfile.dialog.title;"
             buttons="accept,cancel"
+            defaultButton="cancel"
             buttonlabelaccept="&resetProfile.dialog.button.label;"
             ondialogaccept="return onResetProfileAccepted();"
             ondialogcancel="window.close();"
             onload="onResetProfileLoad();">
 
   <script type="application/javascript" src="chrome://global/content/resetProfile.js"/>
 
   <description>&resetProfile.dialog.description;</description>