Forum Discussion

IsabelleALLERMO's avatar
IsabelleALLERMO
Community Member
3 years ago

Issue with variables in Syfadys - Could javascript be the solution?

Hi everyone,

I am working on a huge module that uses a lot of variables. Part of these variables allow to reset one of the 4 scenes (or all of them) on learner request.

The reset buttons work perfectly after publishing :

  • Locally, on my computer
  • On the sandbox of the LMS

Unfortunately, they work partially and generate a lot of bugs when loaded on the final customer LMS (unperfect sandbox obviously…). The LMS used is SYFADYS.

I was wondering if the problem could come from a sort of “memory of variables” manage by the LMS (like a cookie). In this case, do you think that the use of a javascript such as window.syncVars(); could solve my problem? I could add this trigger after the reset of my variables.

Or do you have another idea?

Thanks in advance for your kind help!

No RepliesBe the first to reply