shindig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daviesd <davi...@oclc.org>
Subject getModuleId
Date Mon, 23 Jan 2012 17:49:39 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message