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

8 lines
248 B
Twig

// TODO 2.8.0: 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);
});