Skip to content

Commit

Permalink
#3747 improvements of codacy review
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Oct 8, 2021
1 parent 6320856 commit 37f0beb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Kitodo/src/main/webapp/WEB-INF/resources/js/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
});

0 comments on commit 37f0beb

Please sign in to comment.