The docs at http://code.google.com/apis/gadgets/docs/legacy/reference.html
say this:

_toggle(element)
Toggles between showing and hiding an HTML element.

But the code internally does this:

function _toggle(A) {
    A = _gel(A);
    ...

In several of my gadgets, I am passing an element reference to _toggle
() and it recently stopped working. It looks like it now wants just
the id (string) because _gel() just does:

function _gel(a) {
   return document.getElementById(a);
}

Broken functionality! Why?

Either _toggle() should change back to the way it worked before or _gel
() should only call document.getElementById() if it is passed a
string.

I'm afraid to update my gadgets to only pass an id to _toggle()
because maybe this is a bug and will be reverted!

Matt Kruse

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to