(html)
| 77 | } |
| 78 | |
| 79 | const showErrorModal = function (html) { |
| 80 | // TODO: make a views/modal/error_modal view for this to use so the template can reuse templates/core/modal-base? |
| 81 | $('#modal-wrapper').html(html) |
| 82 | $('.modal:visible').modal('hide') |
| 83 | return $('#modal-error').modal('show') |
| 84 | } |
| 85 | |
| 86 | let shownWorkerError = false |
| 87 |