diff --git a/js/remove_btn.js.php b/js/remove_btn.js.php index ff1a0bad..3fc1128b 100644 --- a/js/remove_btn.js.php +++ b/js/remove_btn.js.php @@ -201,9 +201,7 @@ function handleEvent() { $(document).ready(function() { // only in ticket form - if (location.pathname.indexOf('ticket.form.php') > 0 - || location.pathname.indexOf('problem.form.php') > 0 - || location.pathname.indexOf('change.form.php') > 0) { + if (location.pathname.indexOf('ticket.form.php')) { $(document).on('glpi.tab.loaded', function() { let buttons_to_delete = { Group: {