MCPcopy Index your code
hub / github.com/codecombat/codecombat / showErrorModal

Function showErrorModal

app/core/errors.js:79–84  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

77}
78
79const 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
86let shownWorkerError = false
87

Callers 1

errors.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected