[Koha-bugs] [Bug 21091] Move add item template JavaScript to a separate file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 15 22:59:27 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21091

José-Mario Monteiro-Santos <jose-mario.monteiro-santos at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82708|0                           |1
        is obsolete|                            |

--- Comment #8 from José-Mario Monteiro-Santos <jose-mario.monteiro-santos at inlibro.com> ---
Created attachment 85205
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85205&action=edit
Bug 21091: Move add item template JavaScript to a separate file

This patch moves the JavaScript in the add item template to separate
files: 1 JS file and 1 include file containing translatable strings.

While moving the JS to cataloging_additem.js I have made some changes to
quiet ESLint warnings (spacing, variable definition).

To test, apply the patch and open the add item page for an existing
record. Test the various JS-driven functionalities:

- Table sorting
- Table column configuration
- Table searching
- Table inline edit/delete links (click anywhere in the table row)
- Add multiple item form show/hide
- Add multiple item warning when adding 100+ items

Signed-off-by: Jose-Mario Monteiro-Santos
<jose-mario.monteiro-santos at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list