Comment 1 for bug 894690

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Apparent cause: Huw replaced the ugly style="display:none" in lib/lp/translations/templates/translation-import-queue-macros.pt with a nicer class="hidden".

But the code in lib/lp/translations/javascript/importqueue.js, in function init_status_choice, tries to make the status visible by doing:

    content_box.setStyle('display', '');

That won't work when the style isn't even set.

This is annoyingly hard to test for: you'd need a test with full-on TAL rendering to catch it. Which is way overkill, really.