Bug 1192901 - Avoid wrong accesskey for "Disable Addon" button by passing empty string, r=gijs

--HG--
extra : commitid : 7As4tHpMoZN
extra : histedit_source : e3937b0058002e7ef0b00895827c2d54ee067c94
This commit is contained in:
YFdyh000 2015-08-10 15:51:00 +01:00
parent 3bebbc324a
commit 4f2be0b5a2

View File

@ -697,6 +697,7 @@ BrowserGlue.prototype = {
let buttons = [
{
label: win.gNavigatorBundle.getFormattedString("addonwatch.disable.label", [addon.name]),
accessKey: "", // workaround for bug 1192901
callback: function() {
addon.userDisabled = true;
if (addon.pendingOperations != addon.PENDING_NONE) {