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

gadgets.util.registerOnLoadHandler does not work in cajoled gadgets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1-BETA3
    • Javascript
    • 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

        1. shindig-1169.patch
          4 kB
          Jasvir Nagra

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: