I have a gadget that was using

var moduleId = new gadgets.Prefs().getModuleId();

To get the current moduleId (siteId) of the gadget so that it could retrieve
userprefs

osapi.userprefs.get( { siteId : moduleId } )

This is now return 0 instead of the id I have for the element the gadget was
rendered into.

I haven¹t kept up with the whole moduleId/siteId patch that is going on, but
perhaps something has changed here and is not backwards compatible?

Any ideas?  It¹s been a while since I¹ve played around with userprefs and
today was the first I noticed it wasn¹t working.

doug

Reply via email to