JavaScript trigger not triggering in 2.5. Works in 2.4.

Jun 01, 2015

We are creating Web based versions of some courses. Within this course, on the entry of the last slide, we are inserting a javascript snippet. With Storyline 2.4, this code is called and reaches back to our application. With Storyline 2.5, this code is not called. I verified this via Chrome's Inspect Element.

I've tested 20 courses. 9 published with 2.4 (worked) and 11 published with 2.5 (didn't work). We'd like our team of 5 to all use 2.5 and need to figure out what the difference is between 2.4 and 2.5 so the courses can be published in 2.5 and our code gets called.

Has anybody else experienced this issue?

27 Replies
Kennethg Goeieman

Oh well, but I published mine for the web only and not html5... which doesnt include the story_html5.html file. And when I look at the line you showed, it's already present.

I also did a publish in html5 and applied the line as you said, hosted it online and tried. still doesnt want to fire the javascript. I have an updated version of storyline update 7.

please take a look at my js attached, its triggered by a finish button at the end of the quiz.

Morgan Walker

Hmm, if you published in web with HTML5 and inserted the line where I suggested but it still didn't work, I'm not sure.  

What do you mean hosted it online?  We serve our courses off of a Cloudfront so anytime we make a change to a file we need to invalidate that file so the cached version gets cleared off of the CDN edge servers.  Maybe you need to clear your browser cache or use an incognito window?

This discussion is closed. You can start a new discussion or contact Articulate Support.