runbot/runbot
Xavier-Do b55e38ae2d [FIX] runbot: wait for chart.js to be loaded
Since the frontend_assets are loaded with `defer="defer"`,
the page sometimes fail with the message:
```
stats.js:212 Uncaught ReferenceError: Chart is not defined
    at updateChart (stats.js:212)
    at stats.js:158
    at XMLHttpRequest.xhttp.onreadystatechange (stats.js:53)
```

This commit checks that Chart is available before tring to render the graph.

Thanks to @kebeclibre for the help.
2021-08-19 15:49:41 +02:00
..
controllers [IMP] runbot: add childs stats to build stats 2021-08-12 11:27:29 +02:00
data [IMP] runbot: make stagings automatically build all 2021-08-12 11:27:29 +02:00
documentation/images [IMP] runbot: enable screencast, add access control, small fixes 2020-09-23 13:27:59 +02:00
migrations [IMP] add draft pr management + multiple custom fields 2021-06-29 10:13:34 +02:00
models [IMP] runbot: remove _log_access on build_stat 2021-08-04 10:46:59 +02:00
security [IMP] runbot: add an error manager group 2021-08-04 10:42:34 +02:00
static/src [FIX] runbot: wait for chart.js to be loaded 2021-08-19 15:49:41 +02:00
templates [FIX] runbot: wait for chart.js to be loaded 2021-08-19 15:49:41 +02:00
tests [IMP] info: log level debug to info 2021-07-02 15:05:42 +02:00
views [IMP] runbot: limit memory usage of containers 2021-07-15 11:15:38 +02:00
wizards [IMP] runbot: runbot 5.0 2020-09-10 13:44:38 +02:00
__init__.py [IMP] runbot: add a multibuild wizard 2019-10-28 15:26:15 +01:00
__manifest__.py [FIX] runbot: adapt routes and licenses 2021-07-27 16:11:49 +02:00
common.py [FIX] runbot: fix markdown code 2021-05-10 15:11:21 +02:00
container.py [IMP] runbot: limit memory usage of containers 2021-07-15 11:15:38 +02:00
fields.py [IMP] runbot: runbot 5.0 2020-09-10 13:44:38 +02:00