Index: chrome/content/ui/utils.js |
=================================================================== |
--- a/chrome/content/ui/utils.js |
+++ b/chrome/content/ui/utils.js |
@@ -50,8 +50,17 @@ var {Utils} = require("utils"); |
/** |
* Shortcut for document.getElementById(id) |
*/ |
function E(id) |
{ |
return document.getElementById(id); |
} |
+ |
+/** |
+ * Split up all labels into the label and access key portions. |
+ */ |
+document.addEventListener("DOMContentLoaded", function splitAllLabelsHandler() |
+{ |
+ document.removeEventListener("DOMContentLoaded", splitAllLabelsHandler, false); |
+ Utils.splitAllLabels(document); |
+}, false); |