Add loaded event

This commit is contained in:
Julian Prieber 2024-09-19 12:54:23 +02:00
parent 608abc73d7
commit 39ac5bc80e
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ $(function() {
function LoadLinkTypeParams($TypeId, $LinkId) {
var baseURL = <?php echo "\"" . url('') . "\""; ?>;
$("#link_params").html('<div class="spinner-border text-primary" role="status"><span class="visually-hidden">Loading...</span></div>').load(baseURL + `/studio/linkparamform_part/${$TypeId}/${$LinkId}`);
setTimeout(function() { document.dispatchEvent(new Event('contentLoaded')); }, 300);
}
});
</script>