Last update: Thu, Feb 9, 2012 at 8:59 AM.

Aha, I believe I found the problem.

  • Apparently you can call a function in Javascript with an incomplete parameter list. The unspecified parameters are undefined. So if you assign an unspecified paramter to an attribute, guess what -- the attribute becomes undefined.
  • They should have a website where they document all the non-typical things they do in JavaScript. I don't know any other Algol-like language that does it this way.
  • In any case, in one of my calls to the expandCollapse routine, I omitted the values for urlExpand and urlCollapse. So when I click on the item to expand it the image goes undefined. Let's see what happens if I fix it.
  • Yep that was it.