formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.83k stars 1.05k forks source link

FIO-7733: conditionally offload loader #5512

Closed brendanbond closed 2 months ago

brendanbond commented 5 months ago

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-7733

Description

In certain development circumstances, there was a javascript error in which the loader was no longer a child element of the main FJS element. This change merely checks that the loader is still a child before nullifying and removing the loader element.

Breaking Changes / Backwards Compatibility

Shouldn't be an issue, merely prevents a runtime error.

Dependencies

n/a

How has this PR been tested?

n/a

Checklist: