Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 9863c18cc8
Bug 32933: Use val() instead of attr("value") when getting field values with jQuery
This patch replaces instances in Koha's templates where "attr('value')" is
used to get the value of a form field, using "val()" instead. This
ensures that we get the current value of the field, not just the
value of the field when the page first loaded.

To test, apply the patch and test the following pages:

- Tools -> Tags. Use the "Check lists" form in the right-hand sidebar
  to test the approval status of some approved and rejected tags. It
  should correctly respond with the tag's status.
- Cataloging -> Label creator.
  - New -> Printer profile. Each offset and creep field should correctly
    reflect the selected value in the "Units" dropdown. Changing the
    dropdown should make the units change accordingly.
  - New -> Label template. Perform the same tests as above.
- Tools -> Patron card creator.
  - New -> Layout. If necessary, check the "Field 1" checkbox. The
    units should be displayed correctly and change as you change the
    "Units" dropdown.
  - New -> Printer profile,
  - New -> Card template: Perform the same tests as above.
- Lists -> List contents.
  - Check that the "Add to" dropdown menu works for adding selected
    titles to a cart or another list.
- Back record modification. Submit a batch of records for modification
  and go to Administration -> Manage jobs.
  - View the details of the job you just submitted.
  - Confirm that the "Add modified records to the following list"
    dropdown works correctly.
- Cataloging -> Find a bibliographic record -> Edit items.
  - Confirm that clicking a cell in the table of existing items
    triggers the "Edit item/Delete item" menu, and that these links
    work correctly.

Works as described.

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-21 09:11:17 -03:00
..
acqui Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
admin Bug 31890: Add surname to PrefillGuaranteeField system pref 2023-02-20 09:44:18 -03:00
authorities Bug 29173: (QA follow-up) Match pop-over sizes 2023-02-09 10:21:23 -03:00
basket Bug 16522: (follow-up) Remove HTML links from email 2023-01-30 12:10:12 -03:00
batch
catalogue Bug 32307: (follow-up) Fix gallery when Coce is enabled 2023-02-20 09:54:17 -03:00
cataloguing Bug 32567: (QA follow-up) Fix some labelling inconsistencies 2023-02-07 15:30:32 -03:00
circ Bug 32788: Order curbside pickup slots chronologically 2023-02-07 15:31:40 -03:00
clubs Bug 32098: Consistent classes for primary buttons: Clubs and rotating collections 2022-11-14 09:34:39 -03:00
course_reserves Bug 20256: Use new methods 2023-02-02 11:59:26 -03:00
erm Bug 32147: Capitalization: E-Resource management 2022-11-16 08:46:20 -03:00
errors
ill Bug 32566: Don't show "ILL request log" when IllLog is disabled 2023-02-20 09:44:14 -03:00
installer
labels Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
mana
members Bug 32757: Make 'Save changes' button on housebound details yellow 2023-02-20 09:54:18 -03:00
offline_circ Bug 32073: Consistent classes for primary buttons: Circulation 2022-11-10 14:47:02 -03:00
onboarding
patron_lists Bug 32099: Consistent classes for primary buttons: Assorted templates 2022-11-14 09:36:18 -03:00
patroncards Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
plugins Bug 32644: Terminology: staff/intranet and biblio in plugins-home page 2023-01-31 09:39:07 -03:00
pos Bug 32409: Fix cashup searching with non latin-1 chars 2023-02-02 11:59:26 -03:00
recalls Bug 32688: Convert recalls awaiting pickup tabs to Bootstrap 2023-01-30 12:21:34 -03:00
reports Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
reserve Bug 32099: Consistent classes for primary buttons: Assorted templates 2022-11-14 09:36:18 -03:00
reviews Bug 32182: Replace static tabs markup with Bootstrap 2022-11-16 09:35:14 -03:00
rotating_collections Bug 32098: Consistent classes for primary buttons: Clubs and rotating collections 2022-11-14 09:34:39 -03:00
serials Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
services
suggestion Bug 33002: Restore "Archive selected" for archiving multiple suggestions 2023-02-21 09:10:45 -03:00
tags Bug 31768: Add tools toolbar to tags page 2023-02-07 10:31:12 -03:00
test
tools Bug 32019: (follow-up) Fix terminology and styling 2023-02-20 09:54:20 -03:00
virtualshelves Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
about.tt Bug 32609: Add warning to the about page 2023-02-10 11:07:54 -03:00
auth.tt Bug 32010: Make sure the alert will be displayed after the ajax call 2022-11-18 12:04:28 -03:00
intranet-main.tt Bug 26628: Fix access to clubs when user only has clubs permission 2023-01-31 10:50:52 -03:00