Cross-origin blocking on client instances?


  • Tom Uijldert
    Comment actions Permalink

    ...the reason being I didn't tell the whole story, my statement actually was:

    topBarClient.trigger('<whatever>', client);

    Apparently, sending the client Object as data is a nono so I reverted to somehting like:

    topBarClient.trigger('<whatever>', client._instanceGuid);

    which works.

    Apologies for the spam.

  • Bryan - Community Manager
    Comment actions Permalink

    Thanks for the follow-up Tom.

    Yes, as you found out, you can pass simple data types (including JSON) in the trigger method but not JavaScript objects themselves.


Please sign in to leave a comment.

Powered by Zendesk