We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52a9fc2 commit 42dd84eCopy full SHA for 42dd84e
1 file changed
setup.php
@@ -337,7 +337,7 @@ function plugin_formcreator_hook(): void {
337
Session::getCurrentInterface() == 'helpdesk') {
338
339
// Add specific JavaScript
340
- $PLUGIN_HOOKS['add_javascript']['formcreator'][] = 'js/scripts.js';
+ $PLUGIN_HOOKS[Hooks::ADD_JAVASCRIPT]['formcreator'][] = 'js/scripts.js';
341
}
342
343
if (isset($_SESSION['glpiactiveentities_string'])) {
0 commit comments