Bug 936442 - fix charset accesskey issue caused by Australis refactor, rs=trivial
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 30 Jan 2014 12:34:48 +0000
changeset 166011 edb9aca4de06fc414c3d015b81a3a4f51c6d3909
parent 166010 d6980b1b67511312295a68e61839008d5592e15a
child 166012 2e08d371f66b0ee973bd1c5953d28dd95377a249
push id26109
push userryanvm@gmail.com
push dateThu, 30 Jan 2014 21:23:09 +0000
treeherdermozilla-central@d0bec3c2be01 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial
bugs936442
milestone29.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 936442 - fix charset accesskey issue caused by Australis refactor, rs=trivial
toolkit/modules/CharsetMenu.jsm
--- a/toolkit/modules/CharsetMenu.jsm
+++ b/toolkit/modules/CharsetMenu.jsm
@@ -219,16 +219,16 @@ let CharsetMenu = {
   _getCharsetLabel: function(charset) {
     try {
       return gBundle.GetStringFromName(charset);
     } catch (ex) {}
     return charset;
   },
   _getCharsetAccessKey: function(charset) {
     try {
-      accesskey = gBundle.GetStringFromName(charset + ".key");
+      return gBundle.GetStringFromName(charset + ".key");
     } catch (ex) {}
     return "";
   },
 };
 
 Object.freeze(CharsetMenu);