ZF-4587: The addOnLoad added for the Zend Parser should always be the first call on the page...

Issue Type: Bug Created: 2008-10-13T09:56:34.000+0000 Last Updated: 2009-02-25T10:00:23.000+0000 Status: Resolved Fix version(s): - 1.7.6 (02/Mar/09)

Reporter: Benjamin Jeanjean (apsy) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dojo

Related issues: - ZF-5808



All is in the title.

When you do a "onLoadCaptureStart()", it added the capture before the "Zend addOnLoad function" which run the parser manually (in the source page).

That causes some problems because in our own function defined by the "onLoadCaptureStart", if we try to called our dijits, they are appears not defined (due to the parser which isn't runned).

So the solution would be : - To have a stack for the onLoadCaptureStart - or maybe to have all the time the zend function in the first place.

I think the stack solution would be better (in order to have something to do before the parser runs).


Posted by Matthew Weier O'Phinney (matthew) on 2009-02-25T10:00:21.000+0000

Fix committed to trunk and merged to 1.7 release branch; should release with 1.7.6 next week.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.