ZF-6350: Zend_Dojo js error

Description

Every second or thrid page reload, the javascript fails. In FireFox error console, the error is reported as zend is undefined.

I seem to have eliminated the error by switching to declarative mode by calling

Zend_Dojo_View_Helper_Dojo::setUseDeclarative();

in by bootstrap.php. Since switchng to declarative mode I have reloaded 20 times and not gotten the error.

Comments

I can't reproduce this, honestly, and I use both declarative and programmatic regularly.