Index: ui/webui/resources/js/i18n_template_no_process.js |
diff --git a/ui/webui/resources/js/i18n_template_no_process.js b/ui/webui/resources/js/i18n_template_no_process.js |
index 2ae2ebdddf284a8ab886ebfd2f3d97184b72f485..f38f2d17ba62db71b01dde4759a1c445642eb7c7 100644 |
--- a/ui/webui/resources/js/i18n_template_no_process.js |
+++ b/ui/webui/resources/js/i18n_template_no_process.js |
@@ -138,6 +138,11 @@ var i18nTemplate = (function() { |
*/ |
function process(root, data) { |
processWithoutCycles(root, data, new Set(), true); |
+ |
+ root.dispatchEvent(new Event('i18n-processed', { |
Dan Beam
2016/02/17 04:47:34
i can't use cr.dispatchSimpleEvent() because this
|
+ bubbles: true, |
+ cancelable: false, |
+ })); |
} |
/** |