Error when manually refreshing

Mar 11, 2009 at 12:09 PM
Having downloaded the latest version from here yesterday, I almost immediately received a javascript error ('Object doesn't support this property or method') when attempting to manually refresh the gadget.
I managed to track it down to:

Main.htm, l.497

<a id="refresh" href="javascript:page.updateMessages();" ....

This method does not exist on the page object. It should read:

<a id="refresh" href="javascript:page.messages.update(true);" .....

Apr 30, 2009 at 5:56 AM
I noticed this today, too. Thanks for pointing it out. I would've noticed it sooner, if I'd have been doing a good job at keeping up with the forums :-P

To be clear, it's actually just page.messages.update(). Passing in the Boolean true will kick off another set of refresh-every-minute refreshes. If this happens, you'll quickly hit Twitter's 100 request cap.

Again, thanks for pointing this out. Let us know if you see anything else.
Apr 30, 2009 at 6:00 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.