gadgets.IfrGadget.prototype.getIframeUrl funtion in gadgets.js does not create 
correct default prefs for gadget
---------------------------------------------------------------------------------------------------------------

                 Key: SHINDIG-181
                 URL: https://issues.apache.org/jira/browse/SHINDIG-181
             Project: Shindig
          Issue Type: Bug
         Environment: Windows XP, BEA weblogic 9.2
            Reporter: Neil
            Priority: Minor


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.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to