> I can work around this with:
>
> $view->dojo()->addJavascript("dojo.addOnLoad(function(){my.whatever.someFunc();});");
>
I've now refined this to:
->addJavascript('dojo.addOnLoad(my.init);')
Which is slightly better... but still feels clumsy.
--
Drew Bertola
-------------------------------------------------
* PHP/LAMP Consultant, ZCE-1000 *
* *
* Tel: 408-966-6671 *
* *
* current resume: *
* http://drewb.com/blog/about/resume/ *
-------------------------------------------------
没有评论:
发表评论