Awesome, adding a note to http://wiki.opensocial.org/index.php?title=Gadgets.window_%28v0.9%29 should help others running up against this problem.
~Arne On Aug 4, 8:35 am, duduzerah <eduardopich...@gmail.com> wrote: > Oh god.. I solve it.. > > <Require feature="dynamic-height"/> > I'll try to put this information on wiki. > > On 4 ago, 12:10, duduzerah <eduardopich...@gmail.com> wrote: > > > Hello, > > My call of the method gadgets.window.adjustHeight(1000); isn't working > > on OpenSocial.org site... > > > The javascript console says; > > Uncaught TypeError: Cannot call method 'adjustHeight' of undefined > > Need I to import something? I can't find on opensocial wiki. > > > And I have the follow: > > > <?xml version="1.0" encoding="UTF-8"?> > > <Module> > > <ModulePrefs title="..."> > > <Require feature="opensocial-0.8" /> > > <Require feature="views" /> > > </ModulePrefs> > > <Content view="canvas"> > > <![CDATA[] > > ... > > <script type="text/javascript"> > > gadgets.window.adjustHeight(1000); > > </script> > > .. > > ]]> > > .. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---