Oh oh oh... You¹re not expecting GET_PREFERENCES to be asynchronous are you?
// Try to retrieve preferences for the gadget if no preferences were
explicitly provided.
if (this.config_[ContainerConfig.GET_PREFERENCES] &&
!renderParams[RenderParam.USER_PREFS]) {
renderParams[RenderParam.USER_PREFS] =
this.config_[ContainerConfig.GET_PREFERENCES](site.getId(),
gadgetUrl);
}
Any way to work around this if I¹m calling appdata? Or should you be using
a callback here?
doug
On 8/2/11 3:39 PM, "daviesd" <[email protected]> wrote:
> Ok, I¹m just gonna go home :) See that alert I have in the get_pref?
> Removing that seems to fix the issue, although I swear I put it in there to
> try and debug the same problem earlier, but maybe not. Anyway... Maybe a
> potential timing issue. I¹ll keep plugging away and let you know.
>
> doug
>
>