6.4.1

javascript file load and widget script load concurrency

Bonitasoft 6.4.1. When using several customized javascripts files used by a widget, the widget is sometimes loaded and executed before the javascript it requires (using $( document ).ready() doesn t solve the problem), thus yielding to unrecognized variables. Easily reproducible by using about 10 javascripts of about 50 kb, and observing the load (using breakpoint) in firefox or chrome browser. Note that i actually do not use so many javascript, and i do use minify, but the problem is easily reproducible with that configuration; with less javascript it just happens less often.

Javascript file load

Hi,

Version 6.4.1.

I have several javascript files in my resources, and i have them called from my global process pages as -script type="text/javascript" src="...js"--/script-.

Notifications