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

gadgets.util.registerOnLoadHandler does not work in cajoled gadgets

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1-BETA3
    • Component/s: Javascript
    • Labels:
      None

      Description

      Registering a callback using gadgets.util.registerOnLoadHandler() results in an error when a disfunction (an object with call, bind and apply methods) is attempted to be called as a regular function. None of the callbacks get run and the gadget is aborted.

      For a test example see:
      http://hosting.gmodules.com/ig/gadgets/file/118281459308603356920/test-caja.xml

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jasvir Jasvir Nagra
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: