Shindig
  1. Shindig
  2. SHINDIG-1169

gadgets.util.registerOnLoadHandler does not work in cajoled gadgets

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

        Activity

        Jasvir Nagra created issue -
        Jasvir Nagra made changes -
        Field Original Value New Value
        Attachment shindig-1169.patch [ 12419446 ]
        Paul Lindner made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1-BETA3 [ 12314143 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow jira [ 12476852 ] patch-available, re-open possible [ 12629440 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development