bizzomate / GoogleChartTimeline-Mendix

Implementation of the Google Timeline Chart for Mendix
0 stars 6 forks source link

Fix reload issue and add progressbar #3

Closed mgroeneweg closed 6 years ago

mgroeneweg commented 6 years ago

Hi,

The widget had an issue when the user went to another page and then opened the page with the widget again. Because the uninitialize did not clear subscriptions, the old instance reacted to context object changes too, causing errors or the microflow being called multiple times.

Please note that you can also subscribe using the subscribe function of the widget template. These are automatically cleared upon initialize. I did not refactor the code, adding the unsubscribe to uninitialize solved the issue for now.

I also added an option to show a progress bar when loading the data.

Marcel