Hey Max,
I see your problem. Your gadget is a type="url" pointing to
http://www.telvis.fi/gadgets/google/telvisgadget-content.jsp. In your
JSP file, you're outputting the <script src> tags correctly to import
the necessary JavaScript libraries. However, you're trying to
instantiate a new _IG_Tabs() object before the <script src=".../
libcore.js"> tags are being loaded in. So all those methods aren't
yet defined.
To fix this, simply move the <script src> tags to import the
JavaScript libraries above the <script> tag that contains the tabs
implementation. This should fix the problem.
Hope this helps!
Dann
On May 16, 6:14 am, Max Romantschuk <roma...@gmail.com> wrote:
Our prevoiusly working gadget has suddenly started failing inside
libtabs.js, with the error "_getGadgetContainer is not defined". This
is the gadget in
question:http://www.google.fi/ig/directory?hl=fi&root=%2Fig&dpos=top&num=24&ur...
libtabs.js seems to be obfuscated, so I haven't really attempted
debugging. We haven't changed the gadget, has Google done changes to
libtabs.js?
Thanks,
Max Romantschuk