Cross-origin blocking on client instances?

2 Comments

  • 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.

    0
  • Bryan Flynn
    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.

    0

Please sign in to leave a comment.

Powered by Zendesk