bug 830090 - Access key for Choose What I Share button in info bar is broken, r=gps, a=lsblakk
authorMike Connor <mconnor@mozilla.com>
Mon, 21 Jan 2013 13:58:39 -0500
changeset 127241 dd0378c2d1b70348ac7a898dc536cc50220d9058
parent 127240 a4c5534dbe2b44daf2a69d352cd97a1bc80df57a
child 127242 77ac5f84e113519b51089d14cdc329582a761dc4
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps, lsblakk
bugs830090
milestone20.0a2
bug 830090 - Access key for Choose What I Share button in info bar is broken, r=gps, a=lsblakk
browser/base/content/browser-data-submission-info-bar.js
services/datareporting/DataReportingService.js
services/datareporting/modules-testing/mocks.jsm
services/datareporting/policy.jsm
services/datareporting/tests/xpcshell/test_policy.js
--- a/browser/base/content/browser-data-submission-info-bar.js
+++ b/browser/base/content/browser-data-submission-info-bar.js
@@ -92,17 +92,17 @@ DataNotificationInfoBar.prototype = {
     let message = gNavigatorBundle.getFormattedString(
       "dataReportingNotification.message",
       [appName, vendorName]);
 
     let actionTaken = false;
 
     let buttons = [{
       label: gNavigatorBundle.getString("dataReportingNotification.button.label"),
-      accesskey: gNavigatorBundle.getString("dataReportingNotification.button.accessKey"),
+      accessKey: gNavigatorBundle.getString("dataReportingNotification.button.accessKey"),
       popup: null,
       callback: function () {
         // Clicking the button to go to the preferences tab constitutes
         // acceptance of the data upload policy for Firefox Health Report.
         // This will ensure the checkbox is checked. The user has the option of
         // unchecking it.
         request.onUserAccept("info-bar-button-pressed");
         actionTaken = true;