adding a custom.js to bug_view_inc.php
Moderators: Developer, Contributor
adding a custom.js to bug_view_inc.php
hi all, i would like to add a custom.js and css to my custom field, such that the field highlight green when it's yes and red when it's no. it works when i include echo '<script src="js/custom.js"></script>'; on the bug_view_inc.php. however, i want to put this setting in config_inc.php with $g_custom_headers[] = '<script src="js/custom.js"></script>'; but it's not loading my js nor css, what am i doing wrong, or how to achieve this? thanks in advance