Add loaded event
This commit is contained in:
parent
608abc73d7
commit
39ac5bc80e
|
@ -135,7 +135,7 @@ $(function() {
|
||||||
function LoadLinkTypeParams($TypeId, $LinkId) {
|
function LoadLinkTypeParams($TypeId, $LinkId) {
|
||||||
var baseURL = <?php echo "\"" . url('') . "\""; ?>;
|
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}`);
|
$("#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>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue