Files
iTop/templates/components/quick-create/layout.js.twig

6 lines
237 B
Twig

// TODO: We need to find a clean way to launch this script only once the JS scripts are loaded
document.addEventListener("DOMContentLoaded", function(){
setTimeout(function(){
$('#{{ oUIBlock.GetId() }}').quick_create();
}, 500);
});