Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-181

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Javascript
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            neilemms Neil
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: