Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
Windows XP, BEA weblogic 9.2
Description
The gadgets.IfrGadget.prototype.getIframeUrl function in gadgets.js uses the getUserPrefsParams() function to setup the default user prefs for the gadget, when creating the iFrame.
However, this function uses the gadgets.container.userPrefStore object to obtain the prefs. Until the 'save' button on the settings dialog has been explicitly clicked - after the gadget has been rendered to the browser - the gadgets.container.userPrefStore will be empty for this gadget.
The gadgets.container.userPrefStore should be initialised for this gadget with the default user prefs given in the gadget spec, if any.