From 37f0beb1fee4846437d4a5b87256c39838e1f37e Mon Sep 17 00:00:00 2001 From: Markus Weigelt Date: Fri, 8 Oct 2021 14:58:55 +0200 Subject: [PATCH] #3747 improvements of codacy review --- Kitodo/src/main/webapp/WEB-INF/resources/js/lists.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Kitodo/src/main/webapp/WEB-INF/resources/js/lists.js b/Kitodo/src/main/webapp/WEB-INF/resources/js/lists.js index d808a93a9c8..2ce6d82fb8b 100644 --- a/Kitodo/src/main/webapp/WEB-INF/resources/js/lists.js +++ b/Kitodo/src/main/webapp/WEB-INF/resources/js/lists.js @@ -30,9 +30,10 @@ function registerRowToggleEvents(event) { $( document ).on( "click", ".allSelectable .ui-chkbox-all .ui-chkbox-box", function() { /*global PF*/ + /*eslint new-cap: ["error", { "capIsNewExceptionPattern": "^PF" }]*/ if( $(this).hasClass( "ui-state-active" ) ) { - PF('allSelectableOverlayPanel').show(); + new PF('allSelectableOverlayPanel').show(); } else { - PF('processesTable').unselectAllRows(); + new PF('processesTable').unselectAllRows(); } }); \ No newline at end of file