www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit b5d236fc9d46cedc9e4d5a94fbedc61f40a3624a
parent 0d34e34a3aa9e681ab33ec93db0714553c75f69e
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 20 Feb 2012 04:18:06 -0500

Fire a DOM event when we have translators

Diffstat:
Mchrome/content/zotero/tools/testTranslators/testTranslators.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/tools/testTranslators/testTranslators.js b/chrome/content/zotero/tools/testTranslators/testTranslators.js @@ -425,6 +425,10 @@ function haveTranslators(translators, type) { translatorTestViewsToRun[type].push(translatorTestView); } } + + var ev = document.createEvent('HTMLEvents'); + ev.initEvent('ZoteroHaveTranslators-'+type, true, true); + document.dispatchEvent(ev); } /**