]> git.koha-community.org Git - koha.git/commit
Bug 27752: Correct eslint errors in batchMod.js
authorOwen Leonard <oleonard@myacpl.org>
Mon, 22 Feb 2021 15:44:54 +0000 (15:44 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Mar 2021 07:52:11 +0000 (08:52 +0100)
commitb0f6062b58b3f93f85e12f00a7ec2d6bc7f35f07
tree105b6a59fe331865e910a13aaa4146ce2b28ed26
parentab032a456ebfa5b78947d35998e8a3140bbffd2c
Bug 27752: Correct eslint errors in batchMod.js

This patch makes minor changes to batchMod.js in order to address errors
raised by ESLint. These changes include whitespace changes, so diff
accordingly.

To test, apply the patch and go to Tools -> Batch item modification.

- Submit a batch of barcodes for modification.
- Uncheck some checkboxes to hide columns in the table showing your
  submitted items.
- Return to the batch item modification page and submit your batch
  again.
- The columns you selected should still be hidden.
- Submit a batch of items for deletion.
- The same columns should be hidden here too.

To confirm that ESLint is happy with the changes you could open the file
for editing using an editor with ESLint integration, or install ESLint
on the command line:
https://eslint.org/docs/user-guide/command-line-interface

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4add0cbc2d6c3aec6e71d6148ed86cc2e811d1ef)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js